aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-07-18 20:57:20 +0200
committerdexX7 <dexx@bitwatch.co>2016-07-31 21:47:21 +0200
commit3f65ba2b3bd6c4e269f8f89b16d386b443431693 (patch)
tree01e5877a9482e9fc2b04378190b2bdfb3e5d89ce /src/txmempool.cpp
parentced6c940da35fcf33160d1c7f2f54a99dc7eedb1 (diff)
downloadbitcoin-3f65ba2b3bd6c4e269f8f89b16d386b443431693.tar.xz
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.