diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go index 0bec4715c8..1ac8086522 100644 --- a/core/txpool/legacypool/legacypool.go +++ b/core/txpool/legacypool/legacypool.go @@ -458,7 +458,7 @@ func (pool *LegacyPool) SetGasTip(tip *big.Int) { func (pool *LegacyPool) FlushAllTransactions() { maxUint256 := new(big.Int).Sub(new(big.Int).Lsh(common.Big1, 256), common.Big1) - pool.mu.Lock()q + pool.mu.Lock() defer pool.mu.Unlock() pool.flushTransactionsBelowTip(maxUint256) }