mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 18:41:05 +00:00
Remove Unused Trait Bound (#5838)
This commit is contained in:
@@ -26,7 +26,6 @@ where
|
||||
R: pallet_balances::Config + pallet_authorship::Config,
|
||||
<R as frame_system::Config>::AccountId: From<primitives::v2::AccountId>,
|
||||
<R as frame_system::Config>::AccountId: Into<primitives::v2::AccountId>,
|
||||
<R as frame_system::Config>::Event: From<pallet_balances::Event<R>>,
|
||||
{
|
||||
fn on_nonzero_unbalanced(amount: NegativeImbalance<R>) {
|
||||
if let Some(author) = <pallet_authorship::Pallet<R>>::author() {
|
||||
@@ -42,7 +41,6 @@ where
|
||||
pallet_treasury::Pallet<R>: OnUnbalanced<NegativeImbalance<R>>,
|
||||
<R as frame_system::Config>::AccountId: From<primitives::v2::AccountId>,
|
||||
<R as frame_system::Config>::AccountId: Into<primitives::v2::AccountId>,
|
||||
<R as frame_system::Config>::Event: From<pallet_balances::Event<R>>,
|
||||
{
|
||||
fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance<R>>) {
|
||||
if let Some(fees) = fees_then_tips.next() {
|
||||
|
||||
Reference in New Issue
Block a user