Skip to content

Commit

Permalink
refactor: address clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Dec 10, 2024
1 parent 8dcb96d commit 5693e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/pop-cli/src/commands/call/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ impl CallParachainCommand {
spinner.start("Signing and submitting the extrinsic and then waiting for finalization, please be patient...");
let call_data_bytes =
decode_call_data(call_data).map_err(|err| anyhow!("{}", format!("{err:?}")))?;
let result = sign_and_submit_extrinsic_with_call_data(&client, call_data_bytes, suri)
let result = sign_and_submit_extrinsic_with_call_data(client, call_data_bytes, suri)
.await
.map_err(|err| anyhow!("{}", format!("{err:?}")))?;

Expand Down Expand Up @@ -378,7 +378,7 @@ impl CallParachain {
}
let spinner = cliclack::spinner();
spinner.start("Signing and submitting the extrinsic and then waiting for finalization, please be patient...");
let result = sign_and_submit_extrinsic(&client, tx, &self.suri)
let result = sign_and_submit_extrinsic(client, tx, &self.suri)
.await
.map_err(|err| anyhow!("{}", format!("{err:?}")))?;

Expand Down

0 comments on commit 5693e2f

Please sign in to comment.