diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-12-01 10:00:04 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-12-01 10:22:14 +0100 |
commit | 327291af02d05e09188713d882bf68ac708c1077 (patch) | |
tree | fd6e45cfb3d11beb185c3d1da556a075c924b165 /src/core_memusage.h | |
parent | 9490bd71bdb41669de7d3c2669241cabf307bb9b (diff) | |
parent | 114b5812f6283f2325fc31e186b26c6d76f9551a (diff) |
Merge pull request #6914
114b581 Prevector type (Pieter Wuille)
Diffstat (limited to 'src/core_memusage.h')
-rw-r--r-- | src/core_memusage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_memusage.h b/src/core_memusage.h index a05f59ee0c..450537d059 100644 --- a/src/core_memusage.h +++ b/src/core_memusage.h @@ -10,7 +10,7 @@ #include "memusage.h" static inline size_t RecursiveDynamicUsage(const CScript& script) { - return memusage::DynamicUsage(*static_cast<const std::vector<unsigned char>*>(&script)); + return memusage::DynamicUsage(*static_cast<const CScriptBase*>(&script)); } static inline size_t RecursiveDynamicUsage(const COutPoint& out) { |