mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
client/network: Remove original_request in block request events (#7369)
The `original_request` field of each `block_request::Event` variant is not used. With that in mind, this commit removes the field.
This commit is contained in:
@@ -429,7 +429,7 @@ impl<B: BlockT, H: ExHashT> NetworkBehaviourEventProcess<block_requests::Event<B
|
||||
result: Ok(total_handling_time),
|
||||
});
|
||||
},
|
||||
block_requests::Event::Response { peer, original_request: _, response, request_duration } => {
|
||||
block_requests::Event::Response { peer, response, request_duration } => {
|
||||
self.events.push_back(BehaviourOut::OpaqueRequestFinished {
|
||||
peer: peer.clone(),
|
||||
protocol: self.block_requests.protocol_name().to_owned(),
|
||||
|
||||
Reference in New Issue
Block a user