mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-24 06:38:02 +00:00
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:
@@ -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}");
|
||||
|
||||
@@ -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?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user