Skip to content

Commit

Permalink
fix log format
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Apr 23, 2022
1 parent c840e7f commit 3150755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/remote_state_verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func (vt *verifyTask) Start(verifyCh chan common.Hash) {
vt.badPeers[msg.peerId] = struct{}{}
log.Info("peer is not available", "hash", msg.verifyResult.BlockHash, "number", msg.verifyResult.BlockNumber, "peer", msg.peerId, "reason", msg.verifyResult.Status.Msg)
case types.StatusBlockTooNew, types.StatusBlockNewer, types.StatusPossibleFork:
log.Info("return msg from peer %s for block %s is %s", msg.peerId, msg.verifyResult.BlockHash, msg.verifyResult.Status.Msg)
log.Info("return msg from peer", "peerId", msg.peerId, "hash", msg.verifyResult.BlockHash, "msg", msg.verifyResult.Status.Msg)
}
newVerifyMsgTypeGauge(msg.verifyResult.Status.Code, msg.peerId).Inc(1)
case <-resend.C:
Expand Down

0 comments on commit 3150755

Please sign in to comment.