From 313d23b3499cb39e6bc7473048f4aa1954f62311 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Tue, 15 Nov 2022 10:37:40 +0000 Subject: [PATCH] Revert adding Send + Sync --- subxt/src/blocks/block_types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subxt/src/blocks/block_types.rs b/subxt/src/blocks/block_types.rs index 959ef488e2..3522991521 100644 --- a/subxt/src/blocks/block_types.rs +++ b/subxt/src/blocks/block_types.rs @@ -223,7 +223,7 @@ impl ExtrinsicEvents { /// /// This works in the same way that [`events::Events::iter()`] does, with the /// exception that it filters out events not related to the submitted extrinsic. - pub fn iter(&self) -> impl Iterator> + Send + Sync + '_ { + pub fn iter(&self) -> impl Iterator> + '_ { self.events.iter().filter(|ev| { ev.as_ref() .map(|ev| ev.phase() == events::Phase::ApplyExtrinsic(self.idx))