Browse Source

Merge #9354: Make fuzzer actually test CTxOutCompressor

5dd626a Make fuzzer actually test CTxOutCompressor (Pieter Wuille)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
b416095371
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      src/test/test_bitcoin_fuzzy.cpp

4
src/test/test_bitcoin_fuzzy.cpp

@ -240,12 +240,12 @@ int main(int argc, char **argv) @@ -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:

Loading…
Cancel
Save