mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
core/txpool/blobpool: fix slotter slot size
This commit is contained in:
parent
b8340ac071
commit
89f21d2bb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue