Skip to content

Commit

Permalink
fix error log (ethereum#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-lai authored Mar 13, 2022
1 parent 9bb1a6e commit fbb9e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/XDPoS/engines/engine_v2/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbb9e87

Please sign in to comment.