ci: fuzz fixes

This commit is contained in:
Byron Hambly 2025-12-08 15:01:09 +02:00
parent f76157f049
commit b489a41d50
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697
5 changed files with 10 additions and 5 deletions

View file

@ -155,7 +155,7 @@ FUZZ_TARGET(script, .init = initialize_script)
if (!std::get_if<PubKeyDestination>(&tx_destination_1)) {
// Only try to round trip non-pubkey destinations since PubKeyDestination has no encoding
Assert(dest.empty() != valid);
// Assert(dest.empty() != valid); // ELEMENTS: CNoDestination can have a script but is still not a valid destination
Assert(tx_destination_1 == DecodeDestination(encoded_dest));
Assert(valid == IsValidDestinationString(encoded_dest));
}