Remove unnecessary RPC boxing (#11434)

This commit is contained in:
Nazar Mokrynskyi authored and GitHub committed 2022-05-17 20:12:59 +00:00
1 parent 8bce841d70
commit 558daec697
5 files changed
+12 -23

No files matched your search

+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());
}
}