[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
2022-11-17 16:33:39 +01:00
committed by GitHub
parent cac880a7f4
commit 352fbbc146
+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.