mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Make fuzzer actually test CTxOutCompressor
This commit is contained in:
parent
c6fd923886
commit
5dd626a6d3
@ -240,12 +240,12 @@ int main(int argc, char **argv)
|
|||||||
case CTXOUTCOMPRESSOR_DESERIALIZE:
|
case CTXOUTCOMPRESSOR_DESERIALIZE:
|
||||||
{
|
{
|
||||||
CTxOut to;
|
CTxOut to;
|
||||||
|
CTxOutCompressor toc(to);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ds >> to;
|
ds >> toc;
|
||||||
} catch (const std::ios_base::failure& e) {return 0;}
|
} catch (const std::ios_base::failure& e) {return 0;}
|
||||||
|
|
||||||
CTxOutCompressor toc(to);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user