From 7cdd67eddee01eef193860b0732dd79674eadf37 Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Mon, 30 May 2022 20:49:10 -0600 Subject: [PATCH] fix missing async --- mobilecoind-dev-faucet/src/bin/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mobilecoind-dev-faucet/src/bin/main.rs b/mobilecoind-dev-faucet/src/bin/main.rs index 6348c05c42..f1dcf99b31 100644 --- a/mobilecoind-dev-faucet/src/bin/main.rs +++ b/mobilecoind-dev-faucet/src/bin/main.rs @@ -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();