mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
fix: addressed comments
This commit is contained in:
parent
ca5b093605
commit
e5d5318c8b
2 changed files with 1 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ func isPostMerge(config *params.ChainConfig, blockNum uint64, timestamp uint64)
|
|||
mergedAtGenesis := config.TerminalTotalDifficulty != nil && config.TerminalTotalDifficulty.Sign() == 0
|
||||
return mergedAtGenesis ||
|
||||
config.MergeNetsplitBlock != nil && blockNum >= config.MergeNetsplitBlock.Uint64() ||
|
||||
config.ShanghaiBlock != nil
|
||||
config.ShanghaiBlock != nil && blockNum >= config.ShanghaiBlock.Uint64()
|
||||
}
|
||||
|
||||
// Author implements consensus.Engine, returning the verified author of the block.
|
||||
|
|
|
|||
|
|
@ -3168,8 +3168,6 @@ func TestPoolMultiAccountBatchInsertRace(t *testing.T) {
|
|||
pending = pool.Pending(txpool.PendingFilter{})
|
||||
total = len(pending)
|
||||
|
||||
// _ = pool.Locals()
|
||||
|
||||
if total >= n {
|
||||
close(done)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue