Revert adding Send + Sync

This commit is contained in:
Andrew Jones
2022-11-15 10:37:40 +00:00
parent fe8b1f1681
commit 313d23b349
+1 -1
View File
@@ -223,7 +223,7 @@ impl<T: Config> ExtrinsicEvents<T> {
///
/// 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<Item = Result<events::EventDetails, Error>> + Send + Sync + '_ {
pub fn iter(&self) -> impl Iterator<Item = Result<events::EventDetails, Error>> + '_ {
self.events.iter().filter(|ev| {
ev.as_ref()
.map(|ev| ev.phase() == events::Phase::ApplyExtrinsic(self.idx))