From 4687a419ebe67642056ada70b50d51a572661036 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Fri, 29 Jul 2022 20:34:12 +0800 Subject: [PATCH] Remove Unused Trait Bound (#5838) --- polkadot/runtime/common/src/impls.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/polkadot/runtime/common/src/impls.rs b/polkadot/runtime/common/src/impls.rs index 1ee85fb4c3..bce847c82a 100644 --- a/polkadot/runtime/common/src/impls.rs +++ b/polkadot/runtime/common/src/impls.rs @@ -26,7 +26,6 @@ where R: pallet_balances::Config + pallet_authorship::Config, ::AccountId: From, ::AccountId: Into, - ::Event: From>, { fn on_nonzero_unbalanced(amount: NegativeImbalance) { if let Some(author) = >::author() { @@ -42,7 +41,6 @@ where pallet_treasury::Pallet: OnUnbalanced>, ::AccountId: From, ::AccountId: Into, - ::Event: From>, { fn on_unbalanceds(mut fees_then_tips: impl Iterator>) { if let Some(fees) = fees_then_tips.next() {