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 Salamiandthiolliere authored and GitHub committed 2021-11-16 03:31:36 +00:00
1 parent b6786e69bf
commit 8d4f82a1f0
2 files changed
+232 -232

No files matched your search

+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,
});
}
}