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); } }); }