Skip to content

Commit

Permalink
Fix match
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Jan 10, 2024
1 parent db4dddf commit 6ea04f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/unlock_condition/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ pub(crate) fn verify_restricted_addresses(
AnchorOutput::KIND => !address.has_capability(AddressCapabilityFlag::AnchorOutputs),
NftOutput::KIND => !address.has_capability(AddressCapabilityFlag::NftOutputs),
DelegationOutput::KIND => !address.has_capability(AddressCapabilityFlag::DelegationOutputs),
_ => return Err(Error::UnsupportedOutputKind(output_kind)),
_ => false,
} {
return Err(Error::RestrictedAddressCapability);
}
Expand Down

0 comments on commit 6ea04f6

Please sign in to comment.