We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tx.Shift()
1 parent 1340ded commit 46576d2Copy full SHA for 46576d2
miner/taiko_worker.go
@@ -294,6 +294,9 @@ loop:
294
txs.Shift()
295
296
case errors.Is(err, nil):
297
+ // Everything ok, collect the logs and shift in the next transaction from the same account
298
+ txs.Shift()
299
+
300
data, err := rlp.EncodeToBytes(env.txs)
301
if err != nil {
302
log.Trace("Failed to rlp encode the pending transaction %s: %w", tx.Hash(), err)
@@ -317,9 +320,7 @@ loop:
317
320
}
318
321
319
322
- // Everything ok, collect the logs and shift in the next transaction from the same account
323
env.tcount++
- txs.Shift()
324
325
default:
326
// Transaction is regarded as invalid, drop all consecutive transactions from
0 commit comments