Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing allowed features to account #1647

Merged
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
Loading