Make fuzzer actually test CTxOutCompressor

This commit is contained in:
Pieter Wuille 2016-12-15 09:18:31 -08:00
parent c6fd923886
commit 5dd626a6d3

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: