mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-28 21:39:56 +00:00
client/network: Remove unused Result returned by NetworkWorker (#6552)
This commit is contained in:
1 parent
4f7f312be5
commit
635310c8d4
3 files changed
+7
-9
No files matched your search
@@ -307,9 +307,7 @@ fn build_network_future<
|
||||
});
|
||||
|
||||
// Main network polling.
|
||||
if let Poll::Ready(Ok(())) = Pin::new(&mut network).poll(cx).map_err(|err| {
|
||||
warn!(target: "service", "Error in network: {:?}", err);
|
||||
}) {
|
||||
if let Poll::Ready(()) = network.poll_unpin(cx) {
|
||||
return Poll::Ready(());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user