@@ -360,7 +360,7 @@ func (p *BlobPool) Init(gasTip uint64, head *types.Header, reserve txpool.Addres
360
360
}
361
361
}
362
362
// Initialize the state with head block, or fallback to empty one in
363
- // case the head state is not available(might occur when node is not
363
+ // case the head state is not available (might occur when node is not
364
364
// fully synced).
365
365
state , err := p .chain .StateAt (head .Root )
366
366
if err != nil {
@@ -540,7 +540,7 @@ func (p *BlobPool) recheck(addr common.Address, inclusions map[common.Hash]uint6
540
540
}
541
541
delete (p .index , addr )
542
542
delete (p .spent , addr )
543
- if inclusions != nil { // only during reorgs will the heap will be initialized
543
+ if inclusions != nil { // only during reorgs will the heap be initialized
544
544
heap .Remove (p .evict , p .evict .index [addr ])
545
545
}
546
546
p .reserve (addr , false )
@@ -693,7 +693,7 @@ func (p *BlobPool) recheck(addr common.Address, inclusions map[common.Hash]uint6
693
693
if len (txs ) == 0 {
694
694
delete (p .index , addr )
695
695
delete (p .spent , addr )
696
- if inclusions != nil { // only during reorgs will the heap will be initialized
696
+ if inclusions != nil { // only during reorgs will the heap be initialized
697
697
heap .Remove (p .evict , p .evict .index [addr ])
698
698
}
699
699
p .reserve (addr , false )
@@ -809,7 +809,7 @@ func (p *BlobPool) Reset(oldHead, newHead *types.Header) {
809
809
}
810
810
}
811
811
// Recheck the account's pooled transactions to drop included and
812
- // invalidated one
812
+ // invalidated ones
813
813
p .recheck (addr , inclusions )
814
814
}
815
815
if len (adds ) > 0 {
@@ -1226,7 +1226,7 @@ func (p *BlobPool) Add(txs []*types.Transaction, local bool, sync bool) []error
1226
1226
// consensus validity and pool restrictions).
1227
1227
func (p * BlobPool ) add (tx * types.Transaction ) (err error ) {
1228
1228
// The blob pool blocks on adding a transaction. This is because blob txs are
1229
- // only even pulled form the network, so this method will act as the overload
1229
+ // only even pulled from the network, so this method will act as the overload
1230
1230
// protection for fetches.
1231
1231
waitStart := time .Now ()
1232
1232
p .lock .Lock ()
@@ -1554,7 +1554,7 @@ func (p *BlobPool) updateStorageMetrics() {
1554
1554
}
1555
1555
1556
1556
// updateLimboMetrics retrieves a bunch of stats from the limbo store and pushes
1557
- // // them out as metrics.
1557
+ // them out as metrics.
1558
1558
func (p * BlobPool ) updateLimboMetrics () {
1559
1559
stats := p .limbo .store .Infos ()
1560
1560
0 commit comments