From 7a79b88e686b973d566f1a9860609e849f18ba5a Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sat, 4 May 2024 03:20:31 +0300 Subject: [PATCH] txs: do not show slatepack input while cancelling --- src/gui/views/wallets/wallet/txs.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/views/wallets/wallet/txs.rs b/src/gui/views/wallets/wallet/txs.rs index 33527a4..d4bf570 100644 --- a/src/gui/views/wallets/wallet/txs.rs +++ b/src/gui/views/wallets/wallet/txs.rs @@ -491,7 +491,8 @@ impl WalletTransactions { } // Show transaction Slatepack message response or finalization input. - if !tx.posting && !tx.data.confirmed && (tx.data.tx_type == TxLogEntryType::TxSent || + if !tx.posting && !tx.data.confirmed && !tx.cancelling && + (tx.data.tx_type == TxLogEntryType::TxSent || tx.data.tx_type == TxLogEntryType::TxReceived) { self.tx_info_modal_slate_ui(ui, tx, wallet, modal, cb); }