mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
FIX: correctly measure size of priority block
This commit is contained in:
parent
a278764748
commit
c2dd5a3c39
@ -352,7 +352,7 @@ void BlockAssembler::addPriorityTxs()
|
||||
|
||||
// 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
|
||||
if (nBlockSize + iter->GetTxSize() >= nBlockPrioritySize || !AllowFree(actualPriority)) {
|
||||
if (nBlockSize >= nBlockPrioritySize || !AllowFree(actualPriority)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user