diff --git a/consensus/XDPoS/engines/engine_v2/engine.go b/consensus/XDPoS/engines/engine_v2/engine.go index 8aa2c7f24f78..698920883ccf 100644 --- a/consensus/XDPoS/engines/engine_v2/engine.go +++ b/consensus/XDPoS/engines/engine_v2/engine.go @@ -699,12 +699,12 @@ func (x *XDPoS_v2) VerifySyncInfoMessage(chain consensus.ChainReader, syncInfo * err := x.verifyQC(chain, syncInfo.HighestQuorumCert) if err != nil { - log.Warn("SyncInfo message verification failed due to QC", err) + log.Warn("SyncInfo message verification failed due to QC", "error", err) return false, err } err = x.verifyTC(chain, syncInfo.HighestTimeoutCert) if err != nil { - log.Warn("SyncInfo message verification failed due to TC", err) + log.Warn("SyncInfo message verification failed due to TC", "error", err) return false, err } return true, nil