mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Relaxed clippy fixes/nits (#2661)
This PR contains just a few clippy fixes and nits, which are, however, relaxed by workspace clippy settings here: https://github.com/paritytech/polkadot-sdk/blob/master/Cargo.toml#L483-L506 --------- Co-authored-by: Dmitry Sinyavin <dmitry.sinyavin@parity.io> Co-authored-by: ordian <write@reusable.software> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -250,7 +250,7 @@ benchmarks! {
|
||||
let original_bonded: BalanceOf<T>
|
||||
= Ledger::<T>::get(&controller).map(|l| l.active).ok_or("ledger not created after")?;
|
||||
|
||||
T::Currency::deposit_into_existing(&stash, max_additional).unwrap();
|
||||
let _ = T::Currency::deposit_into_existing(&stash, max_additional).unwrap();
|
||||
|
||||
whitelist_account!(stash);
|
||||
}: _(RawOrigin::Signed(stash), max_additional)
|
||||
|
||||
Reference in New Issue
Block a user