diff --git a/src/commands/oneshot.rs b/src/commands/oneshot.rs index 8b56affc8f561a823a776e395060555e60e0693a..3ee2c674b6296496f2aec1a3c25a4c3e5b5e1818 100644 --- a/src/commands/oneshot.rs +++ b/src/commands/oneshot.rs @@ -62,7 +62,7 @@ pub async fn consume_oneshot_account( let events = track_progress(progress).await?; if let Some(e) = - events.find_first::<runtime::oneshot_account::events::OneshotAccountCreated>()? + events.find_first::<runtime::oneshot_account::events::OneshotAccountConsumed>()? { println!("{e:?}"); } @@ -128,8 +128,9 @@ pub async fn oneshot_account_balance( client: &Client, account: AccountId32, ) -> Result<(), anyhow::Error> { - log::info!( - "{}", + println!( + "balance of oneshot account {} is: {}", + &account, client .storage() .fetch(