aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-07-18 20:57:20 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-07-19 12:31:49 +0200
commitab942c15bd3854650afa810d7c22d7fd30d346c1 (patch)
treeb1b4aeac333ab2f3b3b21a31d614e1674e0774f3 /src/txmempool.cpp
parent045106b4f13c1d6f3a4f65d6dddc6ac1e15003bb (diff)
Treat high-sigop transactions as larger rather than rejecting them
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 691baa6744..82827b8e4f 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -75,7 +75,7 @@ void CTxMemPoolEntry::UpdateLockPoints(const LockPoints& lp)
size_t CTxMemPoolEntry::GetTxSize() const
{
- return GetVirtualTransactionSize(nTxWeight);
+ return GetVirtualTransactionSize(nTxWeight, sigOpCost);
}
// Update the given tx for any in-mempool descendants.