Trace get block (#1628)

* trace on GetBlock msg

* rustfmt
This commit is contained in:
Antioch Peverell 2018-10-01 22:12:39 +01:00 committed by GitHub
parent 4d2cbe6596
commit c9c829514b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);