diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-07-18 20:57:20 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-07-19 12:31:49 +0200 |
commit | ab942c15bd3854650afa810d7c22d7fd30d346c1 (patch) | |
tree | b1b4aeac333ab2f3b3b21a31d614e1674e0774f3 /src/txmempool.cpp | |
parent | 045106b4f13c1d6f3a4f65d6dddc6ac1e15003bb (diff) |
Treat high-sigop transactions as larger rather than rejecting them
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r-- | src/txmempool.cpp | 2 |
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. |