Skip to content
Snippets Groups Projects
Commit afe42deb authored by Éloïs's avatar Éloïs
Browse files

style: clippy

parent bbbcd3b4
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ pub async fn set_balance( ...@@ -27,7 +27,7 @@ pub async fn set_balance(
amount: u64, amount: u64,
) -> Result<()> { ) -> Result<()> {
let _events = create_block_with_extrinsic( let _events = create_block_with_extrinsic(
&client, client,
api.tx() api.tx()
.sudo() .sudo()
.sudo(gdev_runtime::Call::Balances( .sudo(gdev_runtime::Call::Balances(
...@@ -78,7 +78,7 @@ pub async fn transfer_all( ...@@ -78,7 +78,7 @@ pub async fn transfer_all(
let to = to.to_account_id(); let to = to.to_account_id();
let _events = create_block_with_extrinsic( let _events = create_block_with_extrinsic(
&client, client,
api.tx() api.tx()
.balances() .balances()
.transfer_all(to.clone().into(), false) .transfer_all(to.clone().into(), false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment