mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 20:21:06 +00:00
[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:
@@ -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
|
/// 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.
|
/// the costs of resources on unsuccessful unstake.
|
||||||
|
#[pallet::constant]
|
||||||
type Deposit: Get<BalanceOf<Self>>;
|
type Deposit: Get<BalanceOf<Self>>;
|
||||||
|
|
||||||
/// The origin that can control this pallet.
|
/// The origin that can control this pallet.
|
||||||
|
|||||||
Reference in New Issue
Block a user