mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 04:31:08 +00:00
client/network: Remove unused Result returned by NetworkWorker (#6552)
This commit is contained in:
@@ -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