mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
fix error log (#70)
This commit is contained in:
parent
9bb1a6e1b3
commit
fbb9e87251
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue