aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin_fuzzy.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-12-15 09:18:31 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2016-12-15 09:18:31 -0800
commit5dd626a6d34331d1712f49ed164b7aa47a2d7ea7 (patch)
tree95a9433e74ed29852e78e5e8d10a20b0d2489278 /src/test/test_bitcoin_fuzzy.cpp
parentc6fd923886a3eee01d9e226544b024940038c5e4 (diff)
Make fuzzer actually test CTxOutCompressor
Diffstat (limited to 'src/test/test_bitcoin_fuzzy.cpp')
-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: