Skip to content

Commit

Permalink
ci: Appease Clippy (#761)
Browse files Browse the repository at this point in the history
This should make the CI green again, as the lints have been introduced
in a new stable release, outside of the changes made in this repository.
  • Loading branch information
Xanewok authored Jan 10, 2023
1 parent d41f657 commit ea5daa4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/examples/dynamic_multisig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
);

// Submit it:
let encoded = hex::encode(&api.tx().call_data(&tx)?);
let encoded = hex::encode(api.tx().call_data(&tx)?);
println!("Call data: {encoded}");
let tx_hash = api.tx().sign_and_submit_default(&tx, &signer).await?;
println!("Submitted tx with hash {tx_hash}");
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/multisig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
);

// Submit the extrinsic with default params:
let encoded = hex::encode(&api.tx().call_data(&tx)?);
let encoded = hex::encode(api.tx().call_data(&tx)?);
println!("Call data: {encoded}");
let tx_hash = api.tx().sign_and_submit_default(&tx, &signer).await?;
println!("Submitted tx with hash {tx_hash}");
Expand Down
2 changes: 1 addition & 1 deletion testing/integration-tests/src/frame/balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ async fn storage_balance_lock() -> Result<(), subxt::Error> {

let locks_addr = node_runtime::storage()
.balances()
.locks(&AccountKeyring::Bob.to_account_id());
.locks(AccountKeyring::Bob.to_account_id());

let locks = api.storage().fetch_or_default(&locks_addr, None).await?;

Expand Down

0 comments on commit ea5daa4

Please sign in to comment.