diff options
author | Bob McElrath <bob_git@mcelrath.org> | 2016-07-06 19:46:46 -0400 |
---|---|---|
committer | Bob McElrath <bob_git@mcelrath.org> | 2016-07-06 19:46:46 -0400 |
commit | 36ae37a9f910922954d48ed1f3f2177d8b227205 (patch) | |
tree | ce5670209db9f7c01e242640a6cd429dcad54d21 /src/core_memusage.h | |
parent | 91abb77970f47b1f6166e564bc695ed30c75bb63 (diff) |
Rename CTxinWitness -> CTxInWitness
Diffstat (limited to 'src/core_memusage.h')
-rw-r--r-- | src/core_memusage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core_memusage.h b/src/core_memusage.h index dd86f805fe..b8e0f08bbf 100644 --- a/src/core_memusage.h +++ b/src/core_memusage.h @@ -33,13 +33,13 @@ static inline size_t RecursiveDynamicUsage(const CScriptWitness& scriptWit) { return mem; } -static inline size_t RecursiveDynamicUsage(const CTxinWitness& txinwit) { +static inline size_t RecursiveDynamicUsage(const CTxInWitness& txinwit) { return RecursiveDynamicUsage(txinwit.scriptWitness); } static inline size_t RecursiveDynamicUsage(const CTxWitness& txwit) { size_t mem = memusage::DynamicUsage(txwit.vtxinwit); - for (std::vector<CTxinWitness>::const_iterator it = txwit.vtxinwit.begin(); it != txwit.vtxinwit.end(); it++) { + for (std::vector<CTxInWitness>::const_iterator it = txwit.vtxinwit.begin(); it != txwit.vtxinwit.end(); it++) { mem += RecursiveDynamicUsage(*it); } return mem; |