FIX: correctly measure size of priority block
This commit is contained in:
parent
a278764748
commit
c2dd5a3c39
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ void BlockAssembler::addPriorityTxs()
|
||||||
|
|
||||||
// If now that this txs is added we've surpassed our desired priority size
|
// If now that this txs is added we've surpassed our desired priority size
|
||||||
// or have dropped below the AllowFreeThreshold, then we're done adding priority txs
|
// or have dropped below the AllowFreeThreshold, then we're done adding priority txs
|
||||||
if (nBlockSize + iter->GetTxSize() >= nBlockPrioritySize || !AllowFree(actualPriority)) {
|
if (nBlockSize >= nBlockPrioritySize || !AllowFree(actualPriority)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue