diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-07-26 11:10:31 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-07-26 11:27:30 +0200 |
| commit | 618c9dd8c651f15ea37a09d3ee4fa4426c75ac02 (patch) | |
| tree | a34413030e80c00d49988a2354a4a2f8564e0c15 /src/txmempool.cpp | |
| parent | Merge #8362: Scale legacy sigop count in CreateNewBlock (diff) | |
| parent | Treat high-sigop transactions as larger rather than rejecting them (diff) | |
| download | discoin-618c9dd8c651f15ea37a09d3ee4fa4426c75ac02.tar.xz discoin-618c9dd8c651f15ea37a09d3ee4fa4426c75ac02.zip | |
Merge #8365: Treat high-sigop transactions as larger rather than rejecting them
ab942c1 Treat high-sigop transactions as larger rather than rejecting them (Pieter Wuille)
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 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. |