all: tie timestamp based forks to the passage of London (#27279)
This commit is contained in:
+1
-1
@@ -318,7 +318,7 @@ func (pool *TxPool) setNewHead(head *types.Header) {
|
||||
next := new(big.Int).Add(head.Number, big.NewInt(1))
|
||||
pool.istanbul = pool.config.IsIstanbul(next)
|
||||
pool.eip2718 = pool.config.IsBerlin(next)
|
||||
pool.shanghai = pool.config.IsShanghai(uint64(time.Now().Unix()))
|
||||
pool.shanghai = pool.config.IsShanghai(next, uint64(time.Now().Unix()))
|
||||
}
|
||||
|
||||
// Stop stops the light transaction pool
|
||||
|
||||
Reference in New Issue
Block a user