core/txpool/blobpool: fix typos
This commit is contained in:
parent
18e154eaa2
commit
9ee6809ff4
@ -583,7 +583,7 @@ func (p *BlobPool) recheck(addr common.Address, inclusions map[common.Hash]uint6
|
|||||||
txs[0].evictionBlobFeeJumps = txs[0].blobfeeJumps
|
txs[0].evictionBlobFeeJumps = txs[0].blobfeeJumps
|
||||||
|
|
||||||
for i := 1; i < len(txs); i++ {
|
for i := 1; i < len(txs); i++ {
|
||||||
// If there's no nonce gap, initialize the evicion thresholds as the
|
// If there's no nonce gap, initialize the eviction thresholds as the
|
||||||
// minimum between the cumulative thresholds and the current tx fees
|
// minimum between the cumulative thresholds and the current tx fees
|
||||||
if txs[i].nonce == txs[i-1].nonce+1 {
|
if txs[i].nonce == txs[i-1].nonce+1 {
|
||||||
txs[i].evictionExecTip = txs[i-1].evictionExecTip
|
txs[i].evictionExecTip = txs[i-1].evictionExecTip
|
||||||
@ -1355,7 +1355,7 @@ func (p *BlobPool) drop() {
|
|||||||
p.stored -= uint64(drop.size)
|
p.stored -= uint64(drop.size)
|
||||||
delete(p.lookup, drop.hash)
|
delete(p.lookup, drop.hash)
|
||||||
|
|
||||||
// Remove the transaction from the pool's evicion heap:
|
// Remove the transaction from the pool's eviction heap:
|
||||||
// - If the entire account was dropped, pop off the address
|
// - If the entire account was dropped, pop off the address
|
||||||
// - Otherwise, if the new tail has better eviction caps, fix the heap
|
// - Otherwise, if the new tail has better eviction caps, fix the heap
|
||||||
if last {
|
if last {
|
||||||
|
Loading…
Reference in New Issue
Block a user