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