diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-12-19 08:49:43 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-12-19 08:50:27 +0100 |
| commit | b416095371f5fb286b4b743f6cf038133dc0b5fa (patch) | |
| tree | af83336f21598fe9d2087f22c52dc599d4d6fa70 | |
| parent | Merge #9366: Fix: OSX QT compile: use built-in swap if available, or defer (diff) | |
| parent | Make fuzzer actually test CTxOutCompressor (diff) | |
| download | discoin-b416095371f5fb286b4b743f6cf038133dc0b5fa.tar.xz discoin-b416095371f5fb286b4b743f6cf038133dc0b5fa.zip | |
Merge #9354: Make fuzzer actually test CTxOutCompressor
5dd626a Make fuzzer actually test CTxOutCompressor (Pieter Wuille)
| -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 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: |