mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 21:51:06 +00:00
Trivial cleaning
This commit is contained in:
@@ -30,11 +30,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let dest = AccountKeyring::Bob.to_account_id().into();
|
||||
|
||||
let client = ClientBuilder::<KusamaRuntime>::new().build().await?;
|
||||
let hash = client.transfer(
|
||||
&signer,
|
||||
&dest,
|
||||
10_000
|
||||
).await?;
|
||||
let hash = client.transfer(&signer, &dest, 10_000).await?;
|
||||
|
||||
println!("Balance transfer extrinsic submitted: {}", hash);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user