mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-08 13:03:47 +00:00
fix(taiko-geth): fix a mempool fetch issue (#333)
This commit is contained in:
parent
3229807585
commit
1340ded381
1 changed files with 4 additions and 4 deletions
|
|
@ -294,10 +294,6 @@ loop:
|
|||
txs.Shift()
|
||||
|
||||
case errors.Is(err, nil):
|
||||
// Everything ok, collect the logs and shift in the next transaction from the same account
|
||||
env.tcount++
|
||||
txs.Shift()
|
||||
|
||||
data, err := rlp.EncodeToBytes(env.txs)
|
||||
if err != nil {
|
||||
log.Trace("Failed to rlp encode the pending transaction %s: %w", tx.Hash(), err)
|
||||
|
|
@ -321,6 +317,10 @@ loop:
|
|||
}
|
||||
}
|
||||
|
||||
// Everything ok, collect the logs and shift in the next transaction from the same account
|
||||
env.tcount++
|
||||
txs.Shift()
|
||||
|
||||
default:
|
||||
// Transaction is regarded as invalid, drop all consecutive transactions from
|
||||
// the same sender because of `nonce-too-high` clause.
|
||||
|
|
|
|||
Loading…
Reference in a new issue