Skip to content

Commit

Permalink
Allow more features and native tokens in implicit account outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz „tadzik” Sośnierz committed Nov 13, 2023
1 parent b1762a3 commit 00b889d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ impl BasicOutput {
/// Checks whether the basic output is an implicit account.
pub fn is_implicit_account(&self) -> bool {
if let [UnlockCondition::Address(uc)] = self.unlock_conditions().as_ref() {
uc.address().is_implicit_account_creation() && self.native_tokens.is_empty() && self.features.is_empty()
uc.address().is_implicit_account_creation()
} else {
false
}
Expand Down

0 comments on commit 00b889d

Please sign in to comment.