Merge #9354: Make fuzzer actually test CTxOutCompressor

5dd626a Make fuzzer actually test CTxOutCompressor (Pieter Wuille)
This commit is contained in:
Wladimir J. van der Laan
2016-12-19 08:49:43 +01:00

View File

@ -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: