Skip to content

Commit

Permalink
[fix] hyperledger-iroha#2804, hyperledger-iroha#2863: `iroha_client_c…
Browse files Browse the repository at this point in the history
…li` submit transaction blocking

Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
  • Loading branch information
Erigara authored and appetrosyan committed Nov 21, 2022
1 parent 99cab1e commit afbab2b
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 afbab2b

Please sign in to comment.