aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-19 08:49:43 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-19 08:50:27 +0100
commitb416095371f5fb286b4b743f6cf038133dc0b5fa (patch)
treeaf83336f21598fe9d2087f22c52dc599d4d6fa70 /src
parent79da3979b7cc0d1f93f918983c47af22f551ac63 (diff)
parent5dd626a6d34331d1712f49ed164b7aa47a2d7ea7 (diff)
Merge #9354: Make fuzzer actually test CTxOutCompressor
5dd626a Make fuzzer actually test CTxOutCompressor (Pieter Wuille)
Diffstat (limited to 'src')
-rw-r--r--src/test/test_bitcoin_fuzzy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_bitcoin_fuzzy.cpp b/src/test/test_bitcoin_fuzzy.cpp
index e1abde16f4..584e6ed008 100644
--- a/src/test/test_bitcoin_fuzzy.cpp
+++ b/src/test/test_bitcoin_fuzzy.cpp
@@ -240,12 +240,12 @@ int main(int argc, char **argv)
case CTXOUTCOMPRESSOR_DESERIALIZE:
{
CTxOut to;
+ CTxOutCompressor toc(to);
try
{
- ds >> to;
+ ds >> toc;
} catch (const std::ios_base::failure& e) {return 0;}
- CTxOutCompressor toc(to);
break;
}
default: