mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
Restore the reputation penalty for timeouts (#5984)
This commit is contained in:
@@ -329,7 +329,7 @@ impl<B: BlockT, H: ExHashT> NetworkBehaviourEventProcess<block_requests::Event<B
|
||||
protocol: self.block_requests.protocol_name().to_vec(),
|
||||
request_duration,
|
||||
});
|
||||
self.substrate.disconnect_peer(&peer);
|
||||
self.substrate.on_block_request_failed(&peer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user