core/txpool/blobpool: fix slotter slot size

This commit is contained in:
lightclient 2025-08-25 09:18:22 -06:00
parent b8340ac071
commit 89f21d2bb3
No known key found for this signature in database
GPG key ID: 657913021EF45A6A

View file

@ -51,7 +51,7 @@ func newSlotterEIP7594(maxBlobsPerTransaction int) func() (uint32, bool) {
return func() (size uint32, done bool) { return func() (size uint32, done bool) {
slotsize += blobSize + txBlobOverhead slotsize += blobSize + txBlobOverhead
finished := slotsize > uint32(maxBlobsPerTransaction)*blobSize+txMaxSize finished := slotsize > uint32(maxBlobsPerTransaction)*(blobSize+txBlobOverhead)+txMaxSize
return slotsize, finished return slotsize, finished
} }