mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-27 21:09:57 +00:00
cleanup stream polls (#3397)
* metered-channel: remove dead code * we don't need no fuse * even more
This commit is contained in:
1 parent
505145efd3
commit
7b054b3c77
5 files changed
+17
-65
No files matched your search
@@ -830,7 +830,7 @@ async fn handle_network_messages<AD: validator_discovery::AuthorityDiscovery>(
|
||||
}
|
||||
}
|
||||
},
|
||||
req_res_event = request_multiplexer.next().fuse() => match req_res_event {
|
||||
req_res_event = request_multiplexer.next() => match req_res_event {
|
||||
None => return Err(UnexpectedAbort::RequestStreamConcluded),
|
||||
Some(Err(err)) => {
|
||||
network_service.report_peer(err.peer, MALFORMED_MESSAGE_COST);
|
||||
|
||||
Reference in new issue
Block a user