Skip to content

Commit b416095

Browse files
committed
Merge #9354: Make fuzzer actually test CTxOutCompressor
5dd626a Make fuzzer actually test CTxOutCompressor (Pieter Wuille)
2 parents 79da397 + 5dd626a commit b416095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/test_bitcoin_fuzzy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ int main(int argc, char **argv)
240240
case CTXOUTCOMPRESSOR_DESERIALIZE:
241241
{
242242
CTxOut to;
243+
CTxOutCompressor toc(to);
243244
try
244245
{
245-
ds >> to;
246+
ds >> toc;
246247
} catch (const std::ios_base::failure& e) {return 0;}
247248

248-
CTxOutCompressor toc(to);
249249
break;
250250
}
251251
default:

0 commit comments

Comments
 (0)