Upgrades trace logging for Sync RPC method (#784)

This commit is contained in:
Age Manning 2020-01-10 02:01:03 +11:00 committed by GitHub
parent 95fc840e2c
commit 1aaeb6b505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -384,7 +384,7 @@ impl<T: BeaconChainTypes> MessageProcessor<T> {
} }
if blocks_sent < (req.count as usize) { if blocks_sent < (req.count as usize) {
trace!( debug!(
self.log, self.log,
"BlocksByRange Response Sent"; "BlocksByRange Response Sent";
"peer" => format!("{:?}", peer_id), "peer" => format!("{:?}", peer_id),
@ -394,7 +394,7 @@ impl<T: BeaconChainTypes> MessageProcessor<T> {
"requested" => req.count, "requested" => req.count,
"returned" => blocks_sent); "returned" => blocks_sent);
} else { } else {
trace!( debug!(
self.log, self.log,
"Sending BlocksByRange Response"; "Sending BlocksByRange Response";
"peer" => format!("{:?}", peer_id), "peer" => format!("{:?}", peer_id),