File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
cli/src/base_cli/commands Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,16 @@ impl FaucetCommand {
4545 let mut nonce = api. get_nonce ( ) . unwrap ( ) ;
4646 for account in & self . accounts {
4747 let to = get_accountid_from_str ( account) ;
48- let call = OpaqueCall :: from_tuple ( & compose_call ! (
49- api. metadata( ) ,
50- "Balances" ,
51- "transfer_keep_alive" ,
52- MultiAddress :: <AccountId , ( ) >:: Id ( to. clone( ) ) ,
53- Compact ( PREFUNDING_AMOUNT )
54- ) ) ;
48+ let call = OpaqueCall :: from_tuple (
49+ & compose_call ! (
50+ api. metadata( ) ,
51+ "Balances" ,
52+ "transfer_keep_alive" ,
53+ MultiAddress :: <AccountId , ( ) >:: Id ( to. clone( ) ) ,
54+ Compact ( PREFUNDING_AMOUNT )
55+ )
56+ . unwrap ( ) ,
57+ ) ;
5558 #[ allow( clippy:: redundant_clone) ]
5659 let xt = compose_extrinsic_offline ! ( api. signer( ) . unwrap( ) , call, api. extrinsic_params( nonce) ) ;
5760 // send and watch extrinsic until finalized
You can’t perform that action at this time.
0 commit comments