mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-04 14:08:39 +00:00
Apply suggestion from @kevaundray
This commit is contained in:
parent
8d2e4ab796
commit
33f77c4d7c
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ func (it *insertIterator) next() (*types.Block, error) {
|
||||||
if it.bc.HasBlockAndState(block.Hash(), block.NumberU64()) {
|
if it.bc.HasBlockAndState(block.Hash(), block.NumberU64()) {
|
||||||
return block, ErrKnownBlock
|
return block, ErrKnownBlock
|
||||||
}
|
}
|
||||||
// Verify uncle blocks against chain history (pre-mereg only)
|
// Verify uncle blocks against chain history (pre-merge only)
|
||||||
if err := it.bc.engine.VerifyUncles(it.bc, block); err != nil {
|
if err := it.bc.engine.VerifyUncles(it.bc, block); err != nil {
|
||||||
return block, err
|
return block, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue