aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2016-06-01 12:29:03 -0400
committerAlex Morcos <morcos@chaincode.com>2016-06-01 12:29:03 -0400
commitc2dd5a3c39156749e8ee24772d1fcb01404f2b6f (patch)
tree8e6b62d05cc1399db28a8d00f634add8cee0df60 /src
parenta27876474819ffff80614f966fea06d5da2d5c15 (diff)
FIX: correctly measure size of priority block
Diffstat (limited to 'src')
-rw-r--r--src/miner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index 1eab8f949d..99eb0a2ebd 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -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;
}