Skip to content

Commit

Permalink
fix missing async
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed May 31, 2022
1 parent 3a1c83b commit 7cdd67e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mobilecoind-dev-faucet/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ async fn post(

let resp = state
.mobilecoind_api_client
.generate_tx_from_tx_out_list(&req)
.map_err(|err| format!("Failed to build Tx: {}", err))?;
.generate_tx_from_tx_out_list_async(&req)
.map_err(|err| format!("Failed to build Tx: {}", err))?
.await
.map_err(|err| format!("Build Tx ended in error: {}", err))?;

// Submit the tx proposal
let mut req = mc_mobilecoind_api::SubmitTxRequest::new();
Expand Down

0 comments on commit 7cdd67e

Please sign in to comment.