ci: Appease Clippy (#761)

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.
This commit is contained in:
Igor Matuszewski
2023-01-10 11:47:07 +01:00
committed by GitHub
parent d41f657417
commit ea5daa444f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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}");
+1 -1
View File
@@ -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}");
@@ -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?;