Skip to content

Commit

Permalink
Update system-parachains/coretime/coretime-kusama/src/coretime.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
ggwpez and bkchr authored Jul 26, 2024
1 parent 6b9d388 commit 3dea8bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-parachains/coretime/coretime-kusama/src/coretime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ impl OnUnbalanced<Credit<AccountId, Balances>> for BurnCoretimeRevenue {
fn on_nonzero_unbalanced(amount: Credit<AccountId, Balances>) {
let acc = CoretimeBurnAccount::get();
if !System::<Runtime>::account_exists(&acc) {
// The account doesn't require ED to survive.
System::<Runtime>::inc_providers(&acc);
}
Balances::resolve(&acc, amount).defensive_ok();
Expand Down

0 comments on commit 3dea8bf

Please sign in to comment.