mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
Fix sync logging (#5879)
This commit is contained in:
@@ -751,7 +751,7 @@ impl<B: BlockT, H: ExHashT> Protocol<B, H> {
|
||||
None
|
||||
};
|
||||
let block_data = message::generic::BlockData {
|
||||
hash: hash,
|
||||
hash,
|
||||
header: if get_header { Some(header) } else { None },
|
||||
body: if get_body {
|
||||
self.context_data
|
||||
@@ -783,7 +783,7 @@ impl<B: BlockT, H: ExHashT> Protocol<B, H> {
|
||||
}
|
||||
let response = message::generic::BlockResponse {
|
||||
id: request.id,
|
||||
blocks: blocks,
|
||||
blocks,
|
||||
};
|
||||
trace!(target: "sync", "Sending BlockResponse with {} blocks", response.blocks.len());
|
||||
self.send_message(&peer, None, GenericMessage::BlockResponse(response))
|
||||
|
||||
Reference in New Issue
Block a user