mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
ci: fuzz fixes
This commit is contained in:
parent
f76157f049
commit
b489a41d50
5 changed files with 10 additions and 5 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue