mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
remove obsolete comment
This commit is contained in:
parent
ff5b9a27b5
commit
be9d9747d2
1 changed files with 1 additions and 2 deletions
|
|
@ -128,8 +128,7 @@ func (v *BlockValidator) ValidateState(block *types.Block, statedb *state.StateD
|
||||||
return errors.New("nil ProcessResult value")
|
return errors.New("nil ProcessResult value")
|
||||||
}
|
}
|
||||||
header := block.Header()
|
header := block.Header()
|
||||||
// When ParallelTxGroupingByStorageOverlap is enabled, Process may still differ
|
|
||||||
// from the block builder in edge cases; skip strict gas equality in that mode.
|
|
||||||
if block.GasUsed() != res.GasUsed {
|
if block.GasUsed() != res.GasUsed {
|
||||||
return fmt.Errorf("invalid gas used (remote: %d local: %d)", block.GasUsed(), res.GasUsed)
|
return fmt.Errorf("invalid gas used (remote: %d local: %d)", block.GasUsed(), res.GasUsed)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue