mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: fix clippy warnings for needless_borrows_for_generic_args (#9387)
This commit is contained in:
@ -36,7 +36,7 @@ impl Wallet {
|
||||
let mut wallets = Vec::with_capacity(self.amount);
|
||||
for idx in 0..self.amount {
|
||||
let builder =
|
||||
builder.clone().derivation_path(&format!("{derivation_path}{idx}")).unwrap();
|
||||
builder.clone().derivation_path(format!("{derivation_path}{idx}")).unwrap();
|
||||
let wallet = builder.build().unwrap().with_chain_id(Some(self.chain_id));
|
||||
wallets.push(wallet)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user