indents
This commit is contained in:
parent
361f6b6842
commit
410d6533e0
@ -997,12 +997,13 @@ impl ChainSync {
|
|||||||
|e| format!("Error sending block headers: {:?}", e)),
|
|e| format!("Error sending block headers: {:?}", e)),
|
||||||
|
|
||||||
GET_RECEIPTS_PACKET => self.return_rlp(io, &rlp,
|
GET_RECEIPTS_PACKET => self.return_rlp(io, &rlp,
|
||||||
ChainSync::return_receipts,
|
ChainSync::return_receipts,
|
||||||
|e| format!("Error sending receipts: {:?}", e)),
|
|e| format!("Error sending receipts: {:?}", e)),
|
||||||
|
|
||||||
GET_NODE_DATA_PACKET => self.return_rlp(io, &rlp,
|
GET_NODE_DATA_PACKET => self.return_rlp(io, &rlp,
|
||||||
ChainSync::return_node_data,
|
ChainSync::return_node_data,
|
||||||
|e| format!("Error sending nodes: {:?}", e)),
|
|e| format!("Error sending nodes: {:?}", e)),
|
||||||
|
|
||||||
_ => {
|
_ => {
|
||||||
debug!(target: "sync", "Unknown packet {}", packet_id);
|
debug!(target: "sync", "Unknown packet {}", packet_id);
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user