diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-12-15 09:18:31 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-12-15 09:18:31 -0800 |
commit | 5dd626a6d34331d1712f49ed164b7aa47a2d7ea7 (patch) | |
tree | 95a9433e74ed29852e78e5e8d10a20b0d2489278 | |
parent | c6fd923886a3eee01d9e226544b024940038c5e4 (diff) |
Make fuzzer actually test CTxOutCompressor
-rw-r--r-- | src/test/test_bitcoin_fuzzy.cpp | 4 |
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: |