Skip to content

Commit

Permalink
[fix] #2804, #2863: iroha_client_cli submit transaction blocking
Browse files Browse the repository at this point in the history
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
  • Loading branch information
Erigara authored and appetrosyan committed Nov 24, 2022
1 parent da76656 commit f6abe5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ pub fn submit(
let err_msg = format!("Failed to submit transaction {:?}", tx);
#[cfg(not(debug_assertions))]
let err_msg = "Failed to submit transaction.";
iroha_client.submit_transaction(tx).wrap_err(err_msg)?;
iroha_client
.submit_transaction_blocking(tx)
.wrap_err(err_msg)?;
Ok(())
}

Expand Down

0 comments on commit f6abe5d

Please sign in to comment.