Skip to content

Commit 6760088

Browse files
author
MarcoFalke
committed
Merge #20300: fuzz: Add missing ECC_Start to descriptor_parse test
5cafe2b fuzz: Add missing ECC_Start to descriptor_parse test (Ivan Metlushko) Pull request description: Fixes fuzzing harness. I also observed that the corpus for this test consists only of `xprv...` keys while we are using regtest parameters. So for proper fuzzing we need either A) to update the corpus and replace `xprv...` with `tprv...` B) switch to main net in the test ACKs for top commit: MarcoFalke: review ACK 5cafe2b practicalswift: Tested ACK 5cafe2b Tree-SHA512: 7415a98a445ce0f96219637d2362fecfc1191ad104f55d79ca92b0c92cde165e00646be5bf3fda956385e3cb22540eca457e575048493367cdf0e00a27d7cdb8
2 parents deb2b27 + 5cafe2b commit 6760088

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/fuzz/descriptor_parse.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
void initialize()
1212
{
1313
static const ECCVerifyHandle verify_handle;
14-
SelectParams(CBaseChainParams::REGTEST);
14+
ECC_Start();
15+
SelectParams(CBaseChainParams::MAIN);
1516
}
1617

1718
void test_one_input(const std::vector<uint8_t>& buffer)

0 commit comments

Comments
 (0)