Skip to content

Commit 5dd626a

Browse files
committed
Make fuzzer actually test CTxOutCompressor
1 parent c6fd923 commit 5dd626a

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)