mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
ots: cache signed tx on view-only wallet
This commit is contained in:
parent
b50ceda12b
commit
948266be4e
1 changed files with 2 additions and 2 deletions
|
@ -909,8 +909,6 @@ void MainWindow::onTransactionCreated(PendingTransaction *tx, const QVector<QStr
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_wallet->addCacheTransaction(tx->txid()[0], tx->signedTxToHex(0));
|
|
||||||
|
|
||||||
// Offline transaction signing
|
// Offline transaction signing
|
||||||
if (m_wallet->viewOnly()) {
|
if (m_wallet->viewOnly()) {
|
||||||
#ifdef WITH_SCANNER
|
#ifdef WITH_SCANNER
|
||||||
|
@ -934,6 +932,8 @@ void MainWindow::onTransactionCreated(PendingTransaction *tx, const QVector<QStr
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_wallet->addCacheTransaction(tx->txid()[0], tx->signedTxToHex(0));
|
||||||
|
|
||||||
// Show advanced dialog on multi-destination transactions
|
// Show advanced dialog on multi-destination transactions
|
||||||
if (address.size() > 1) {
|
if (address.size() > 1) {
|
||||||
TxConfAdvDialog dialog_adv{m_wallet, m_wallet->tmpTxDescription, this};
|
TxConfAdvDialog dialog_adv{m_wallet, m_wallet->tmpTxDescription, this};
|
||||||
|
|
Loading…
Reference in a new issue