Fix debug logging shadowed by parameter (#319)

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
pull/339/head
Antoine Toulme 5 years ago committed by Danno Ferrin
parent ad48ea512c
commit 6060a79d66
  1. 2
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/ChainHeadTracker.java

@ -84,7 +84,7 @@ public class ChainHeadTracker implements ConnectCallback {
trailingPeerLimiter.enforceTrailingPeerLimit();
} else {
LOG.debug(
"Failed to retrieve chain head information. Disconnecting {}. ", peer, error);
"Failed to retrieve chain head information. Disconnecting " + peer, error);
peer.disconnect(DisconnectReason.USELESS_PEER);
}
});

Loading…
Cancel
Save