+4
-2
@@ -106,9 +106,11 @@ impl MessageHandler for Protocol {
|
||||
|
||||
Type::GetBlock => {
|
||||
let h: Hash = msg.body()?;
|
||||
debug!(
|
||||
trace!(
|
||||
LOGGER,
|
||||
"handle_payload: Getblock: {}, msg_len: {}", h, msg.header.msg_len,
|
||||
"handle_payload: Getblock: {}, msg_len: {}",
|
||||
h,
|
||||
msg.header.msg_len,
|
||||
);
|
||||
|
||||
let bo = adapter.get_block(h);
|
||||
|
||||
Reference in New Issue
Block a user