Skip to content

Commit

Permalink
Update sdk/src/types/block/output/account.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Thoralf-M <[email protected]>
  • Loading branch information
thibault-martinez and Thoralf-M authored Jan 10, 2024
1 parent 6ea04f6 commit 10c9927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ impl Packable for AccountOutput {
let features = Features::unpack::<_, VERIFY>(unpacker, &())?;

if VERIFY {
verify_restricted_addresses(&unlock_conditions, AccountOutput::KIND, features.native_token(), mana)
verify_restricted_addresses(&unlock_conditions, Self::KIND, features.native_token(), mana)
.map_err(UnpackError::Packable)?;
verify_allowed_features(&features, Self::ALLOWED_FEATURES).map_err(UnpackError::Packable)?;
}
Expand Down

0 comments on commit 10c9927

Please sign in to comment.