Update field event variants (#749)

* update field events

* update polkadot and substrate

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
David Salami
2021-11-16 04:31:36 +01:00
committed by GitHub
parent b6786e69bf
commit 8d4f82a1f0
2 changed files with 232 additions and 232 deletions
+228 -228
View File
File diff suppressed because it is too large Load Diff
@@ -47,10 +47,10 @@ where
let numeric_amount = amount.peek();
let staking_pot = <pallet_collator_selection::Pallet<R>>::account_id();
<pallet_balances::Pallet<R>>::resolve_creating(&staking_pot, amount);
<frame_system::Pallet<R>>::deposit_event(pallet_balances::Event::Deposit(
staking_pot,
numeric_amount,
));
<frame_system::Pallet<R>>::deposit_event(pallet_balances::Event::Deposit {
who: staking_pot,
amount: numeric_amount,
});
}
}