drk: print clear message when transfer is done

This commit is contained in:
ghassmo
2021-10-14 09:35:34 +03:00
parent 7cdd958a99
commit 27bd5e741f

View File

@@ -263,9 +263,9 @@ async fn start(config: &DrkConfig, options: ArgMatches<'_>) -> Result<()> {
let address = matches.value_of("ADDRESS").unwrap();
let amount = matches.value_of("AMOUNT").unwrap();
let reply = client.transfer(&token_sym, &address, amount).await?;
client.transfer(&token_sym, &address, amount).await?;
println!("Transaction: {}", &reply.to_string());
println!("Transfer successfully");
return Ok(());
}