diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-07-17 13:46:18 -0400 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-07-20 11:17:53 -0400 |
commit | 9e38d0f7451092f6a16853a2b0a37b68a5b3c3fb (patch) | |
tree | 469af8922b6454945e160b99e118d35873470180 /src/txmempool.cpp | |
parent | 89289d875da108c42ca013f33597eda46cb6eb53 (diff) |
Separate core memory usage computation in core_memusage.h
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 4caa5fc821..5bc06e5056 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -31,7 +31,7 @@ CTxMemPoolEntry::CTxMemPoolEntry(const CTransaction& _tx, const CAmount& _nFee, { nTxSize = ::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION); nModSize = tx.CalculateModifiedSize(nTxSize); - nUsageSize = tx.DynamicMemoryUsage(); + nUsageSize = RecursiveDynamicUsage(tx); } CTxMemPoolEntry::CTxMemPoolEntry(const CTxMemPoolEntry& other) |