mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
ots: cache signed tx on view-only wallet
This commit is contained in:
+2
-2
@@ -909,8 +909,6 @@ void MainWindow::onTransactionCreated(PendingTransaction *tx, const QVector<QStr
|
||||
return;
|
||||
}
|
||||
|
||||
m_wallet->addCacheTransaction(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 QVector<QStr
|
||||
#endif
|
||||
}
|
||||
|
||||
m_wallet->addCacheTransaction(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};
|
||||
|
||||
Reference in New Issue
Block a user