From 19dbec72e770406ff37d12db1de31ab509b461e1 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sun, 19 May 2024 10:58:42 +0300 Subject: [PATCH] fix: tx id to cancel --- src/gui/views/wallets/wallet/txs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/wallets/wallet/txs.rs b/src/gui/views/wallets/wallet/txs.rs index 00019ae..84c7587 100644 --- a/src/gui/views/wallets/wallet/txs.rs +++ b/src/gui/views/wallets/wallet/txs.rs @@ -327,7 +327,7 @@ impl WalletTransactions { .title(t!("modal.confirmation")) .show(); } else { - wallet.cancel(self.confirm_cancel_tx_id.unwrap()); + wallet.cancel(tx.data.id); } }); }