mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
remove verifyQC from ProposedBlockHandler since verifyQC is already in verifyHeader (#88)
This commit is contained in:
parent
2b40d1337f
commit
727202cac9
1 changed files with 0 additions and 6 deletions
|
|
@ -664,12 +664,6 @@ func (x *XDPoS_v2) ProposedBlockHandler(chain consensus.ChainReader, blockHeader
|
|||
return err
|
||||
}
|
||||
|
||||
err = x.verifyQC(chain, quorumCert, nil)
|
||||
if err != nil {
|
||||
log.Error("[ProposedBlockHandler] Fail to verify QC", "Extra round", round, "QC proposed BlockInfo Hash", quorumCert.ProposedBlockInfo.Hash)
|
||||
return err
|
||||
}
|
||||
|
||||
// Generate blockInfo
|
||||
blockInfo := &utils.BlockInfo{
|
||||
Hash: blockHeader.Hash(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue