mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
fuzz: Extend descriptor fuzz test
This commit is contained in:
parent
f0d6487e29
commit
fa0189955a
1 changed files with 6 additions and 1 deletions
|
@ -20,6 +20,11 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
|||
FlatSigningProvider signing_provider;
|
||||
std::string error;
|
||||
for (const bool require_checksum : {true, false}) {
|
||||
Parse(descriptor, signing_provider, error, require_checksum);
|
||||
const auto desc = Parse(descriptor, signing_provider, error, require_checksum);
|
||||
if (desc) {
|
||||
(void)desc->ToString();
|
||||
(void)desc->IsRange();
|
||||
(void)desc->IsSolvable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue