Skip to content

Commit efddedc

Browse files
bkellermanfjl
andauthored
core/txpool/blobpool: rename variables in comments (#28981)
Co-authored-by: Felix Lange <fjl@twurst.com>
1 parent 9d537f5 commit efddedc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/txpool/blobpool/blobpool.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func newBlobTxMeta(id uint64, size uint32, tx *types.Transaction) *blobTxMeta {
268268
// going up, crossing the smaller positive jump counter). As such, the pool
269269
// cares only about the min of the two delta values for eviction priority.
270270
//
271-
// priority = min(delta-basefee, delta-blobfee)
271+
// priority = min(deltaBasefee, deltaBlobfee)
272272
//
273273
// - The above very aggressive dimensionality and noise reduction should result
274274
// in transaction being grouped into a small number of buckets, the further
@@ -280,7 +280,7 @@ func newBlobTxMeta(id uint64, size uint32, tx *types.Transaction) *blobTxMeta {
280280
// with high fee caps since it could enable pool wars. As such, any positive
281281
// priority will be grouped together.
282282
//
283-
// priority = min(delta-basefee, delta-blobfee, 0)
283+
// priority = min(deltaBasefee, deltaBlobfee, 0)
284284
//
285285
// Optimisation tradeoffs:
286286
//

0 commit comments

Comments
 (0)