txs: do not show slatepack input while cancelling
This commit is contained in:
parent
26f82f3cc7
commit
7a79b88e68
1 changed files with 2 additions and 1 deletions
|
@ -491,7 +491,8 @@ impl WalletTransactions {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show transaction Slatepack message response or finalization input.
|
// 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) {
|
tx.data.tx_type == TxLogEntryType::TxReceived) {
|
||||||
self.tx_info_modal_slate_ui(ui, tx, wallet, modal, cb);
|
self.tx_info_modal_slate_ui(ui, tx, wallet, modal, cb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue