Skip to content

Commit 7163b37

Browse files
MrWad3rRexagon
authored andcommitted
feat(models): add CapSuspendByMarks
1 parent cdbc83f commit 7163b37

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/models/config/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -519,10 +519,7 @@ impl BlockchainConfigParams {
519519

520520
/// Updates authority params.
521521
pub fn set_authority_params(&mut self, params: AuthorityParams) -> Result<bool, Error> {
522-
self.set_raw(
523-
ConfigParam100::ID,
524-
ok!(CellBuilder::build_from(params)),
525-
)
522+
self.set_raw(ConfigParam100::ID, ok!(CellBuilder::build_from(params)))
526523
}
527524

528525
/// Returns `true` if the config contains a param for the specified id.

src/models/global_version.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ decl_global_capability! {
214214
/// Mask: `0x100000000`
215215
CapFastFinality = 32,
216216

217+
/// Allows to suspend accounts by special extra currencies.
218+
///
219+
/// Mask: `0x200000000`
220+
CapSuspendByMarks = 33
221+
217222
/// Omits master block history to save storage space.
218223
///
219224
/// Mask: `0x400000000`

0 commit comments

Comments
 (0)