Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
[Fix] Deposit for fast-unstake has to be define as pallet::constant
Browse files Browse the repository at this point in the history
Fixes #12618
  • Loading branch information
ruseinov authored Nov 17, 2022
1 parent 35170c5 commit 67fcea5
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 67fcea5

Please sign in to comment.