From: tobtoht Date: Tue, 12 Mar 2024 13:18:16 +0000 (+0100) Subject: ots: cache signed tx on view-only wallet X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=948266be4e9abcc1856bf7b485025f27ca315ac7;p=gamesguru%2Ffeather.git ots: cache signed tx on view-only wallet --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 0f4047d7..8aacc13d 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -909,8 +909,6 @@ void MainWindow::onTransactionCreated(PendingTransaction *tx, const QVectoraddCacheTransaction(tx->txid()[0], tx->signedTxToHex(0)); - // Offline transaction signing if (m_wallet->viewOnly()) { #ifdef WITH_SCANNER @@ -934,6 +932,8 @@ void MainWindow::onTransactionCreated(PendingTransaction *tx, const QVectoraddCacheTransaction(tx->txid()[0], tx->signedTxToHex(0)); + // Show advanced dialog on multi-destination transactions if (address.size() > 1) { TxConfAdvDialog dialog_adv{m_wallet, m_wallet->tmpTxDescription, this};