mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 23:18:01 +00:00
Change network::sync::extra_requests to not send. (#2890)
* Change network::sync::extra_requests to not send. Instead it only maintains the invariants and leaves the actual I/O part to the parent module (i.e. `sync`). * Update Cargo.lock.
This commit is contained in:
committed by
Arkadiy Paronyan
parent
7eb2ff760a
commit
dc41558b6e
@@ -765,8 +765,7 @@ impl<B: BlockT, S: NetworkSpecialization<B>, H: ExHashT> Protocol<B, S, H> {
|
||||
let outcome = self.sync.on_block_justification_data(
|
||||
&mut ProtocolContext::new(&mut self.context_data, network_out),
|
||||
peer,
|
||||
request,
|
||||
response,
|
||||
response
|
||||
);
|
||||
|
||||
if let Some((origin, hash, nb, just)) = outcome {
|
||||
|
||||
Reference in New Issue
Block a user