Skip to content

Commit

Permalink
Add missing allowed features to account (#1647)
Browse files Browse the repository at this point in the history
* Add missing allowed features to account

* fmt

* fmt
  • Loading branch information
thibault-martinez authored Nov 20, 2023
1 parent f8dcf86 commit 5608a7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sdk/src/types/block/output/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,10 @@ impl AccountOutput {
/// The set of allowed [`UnlockCondition`]s for an [`AccountOutput`].
pub const ALLOWED_UNLOCK_CONDITIONS: UnlockConditionFlags = UnlockConditionFlags::ADDRESS;
/// The set of allowed [`Feature`]s for an [`AccountOutput`].
pub const ALLOWED_FEATURES: FeatureFlags = FeatureFlags::SENDER.union(FeatureFlags::METADATA);
pub const ALLOWED_FEATURES: FeatureFlags = FeatureFlags::SENDER
.union(FeatureFlags::METADATA)
.union(FeatureFlags::BLOCK_ISSUER)
.union(FeatureFlags::STAKING);
/// The set of allowed immutable [`Feature`]s for an [`AccountOutput`].
pub const ALLOWED_IMMUTABLE_FEATURES: FeatureFlags = FeatureFlags::ISSUER.union(FeatureFlags::METADATA);

Expand Down

0 comments on commit 5608a7e

Please sign in to comment.