Skip to content

Commit

Permalink
[Fix] Deposit for fast-unstake has to be define as pallet::constant (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
ruseinov authored and ark0f committed Feb 27, 2023
1 parent fa14ba0 commit ff58066
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frame/fast-unstake/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ pub mod pallet {

/// Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
/// the costs of resources on unsuccessful unstake.
#[pallet::constant]
type Deposit: Get<BalanceOf<Self>>;

/// The origin that can control this pallet.
Expand Down

0 comments on commit ff58066

Please sign in to comment.