From 6cb58d1f1ce2e63e242ad260ce73bfa3bda02c21 Mon Sep 17 00:00:00 2001 From: futurechimp Date: Wed, 1 Dec 2021 18:19:14 +0000 Subject: [PATCH] Adding tx_hash to wallet response --- nym-wallet/src-tauri/src/operations/send.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nym-wallet/src-tauri/src/operations/send.rs b/nym-wallet/src-tauri/src/operations/send.rs index a94b9cbda9..e0bdab4b43 100644 --- a/nym-wallet/src-tauri/src/operations/send.rs +++ b/nym-wallet/src-tauri/src/operations/send.rs @@ -17,6 +17,7 @@ pub struct TauriTxResult { gas_used: u64, block_height: u64, details: TransactionDetails, + tx_hash: String, } #[cfg_attr(test, derive(ts_rs::TS))] @@ -34,6 +35,7 @@ impl TauriTxResult { gas_wanted: t.check_tx.gas_wanted.value(), gas_used: t.check_tx.gas_used.value(), block_height: t.height.value(), + tx_hash: t.hash.to_string(), details, } }