[Fix] Deposit for fast-unstake has to be define as pallet::constant (#12729)

Fixes https://github.com/paritytech/substrate/issues/12618
This commit is contained in:
Roman Useinov authored and GitHub committed 2022-11-17 15:33:39 +00:00
1 parent cac880a7f4
commit 352fbbc146
1 file changed
+1
+1
View File
@@ -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.