mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 16:21:02 +00:00
OpenGov improvements for Kusama (#6372)
* Tweaks to optimise gov2 * Use new inactive funds * Introduce migrations * Fixes * Fixes * Fixes * Some constant updates for Fellowship * Further tweaks * Lower floor for whitelisted
This commit is contained in:
@@ -125,6 +125,9 @@ impl<
|
||||
AllowDeath,
|
||||
)
|
||||
.is_ok();
|
||||
if ok {
|
||||
Currency::reactivate(amount);
|
||||
}
|
||||
debug_assert!(
|
||||
ok,
|
||||
"`can_check_in` must have returned `true` immediately prior; qed"
|
||||
@@ -138,6 +141,7 @@ impl<
|
||||
if let Some(amount) = Matcher::matches_fungible(what) {
|
||||
if let Some(checked_account) = CheckedAccount::get() {
|
||||
Currency::deposit_creating(&checked_account, amount);
|
||||
Currency::deactivate(amount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user