aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-07-18 20:57:20 +0200
committerPieter Wuille <[email protected]>2016-07-19 12:31:49 +0200
commitab942c15bd3854650afa810d7c22d7fd30d346c1 (patch)
treeb1b4aeac333ab2f3b3b21a31d614e1674e0774f3 /src/txmempool.cpp
parentMerge #8367: [Wallet] Ensure <0.13 clients can't open HD wallets (diff)
downloaddiscoin-ab942c15bd3854650afa810d7c22d7fd30d346c1.tar.xz
discoin-ab942c15bd3854650afa810d7c22d7fd30d346c1.zip
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 691baa674..82827b8e4 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.