aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin_fuzzy.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-12-15 09:18:31 -0800
committerPieter Wuille <[email protected]>2016-12-15 09:18:31 -0800
commit5dd626a6d34331d1712f49ed164b7aa47a2d7ea7 (patch)
tree95a9433e74ed29852e78e5e8d10a20b0d2489278 /src/test/test_bitcoin_fuzzy.cpp
parentMerge #9331: [qa] Add test for rescan feature of wallet key import RPCs (diff)
downloaddiscoin-5dd626a6d34331d1712f49ed164b7aa47a2d7ea7.tar.xz
discoin-5dd626a6d34331d1712f49ed164b7aa47a2d7ea7.zip
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 e1abde16f..584e6ed00 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: