mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
Merge #9354: Make fuzzer actually test CTxOutCompressor
5dd626a
Make fuzzer actually test CTxOutCompressor (Pieter Wuille)
This commit is contained in:
commit
b416095371
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue