Remove unnecessary RPC boxing (#11434)

This commit is contained in:
Nazar Mokrynskyi
2022-05-17 23:12:59 +03:00
committed by GitHub
parent 8bce841d70
commit 558daec697
5 changed files with 12 additions and 23 deletions
+2 -4
View File
@@ -210,10 +210,8 @@ where
};
sink.pipe_from_stream(stream).await;
}
.boxed();
};
self.executor
.spawn("substrate-rpc-subscription", Some("rpc"), fut.map(drop).boxed());
self.executor.spawn("substrate-rpc-subscription", Some("rpc"), fut.boxed());
}
}