diff --git a/src/qt/coincontroldialog.cpp b/src/qt/coincontroldialog.cpp index d74e9d0d2f..f5f3d4220d 100644 --- a/src/qt/coincontroldialog.cpp +++ b/src/qt/coincontroldialog.cpp @@ -616,7 +616,7 @@ void CoinControlDialog::updateView() // address CTxDestination outputAddress; QString sAddress = ""; - if(ExtractDestination(out.txout.scriptPubKey, outputAddress)) + if(ExtractDestination(out.txout.scriptPubKey, outputAddress, nullptr, true)) { sAddress = QString::fromStdString(EncodeDestination(outputAddress)); diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index 2d54cfa159..5c45885909 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -46,7 +46,7 @@ const QString BITCOIN_IPC_PREFIX("qtum:"); // static QString ipcServerName() { - QString name("QtumQt"); + QString name("QtumQt"); // Append a simple hash of the datadir // Note that gArgs.GetDataDirNet() returns a different path diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index ac14d8275a..cbe7ab04f0 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -54,7 +54,7 @@ QList TransactionRecord::decomposeTransaction(const interface bool involvesWatchAddress = false; isminetype fAllFromMe = ISMINE_SPENDABLE; bool any_from_me = false; - if (wtx.is_coinbase) { + if (wtx.is_coinbase || wtx.is_coinstake) { fAllFromMe = ISMINE_NO; } else { for (const isminetype mine : wtx.txin_is_mine) diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp index 6cebd22185..e73c48efdb 100644 --- a/src/wallet/interfaces.cpp +++ b/src/wallet/interfaces.cpp @@ -82,7 +82,7 @@ WalletTx MakeWalletTx(CWallet& wallet, const CWalletTx& wtx) result.txout_is_mine.emplace_back(wallet.IsMine(txout)); result.txout_is_change.push_back(OutputIsChange(wallet, txout)); result.txout_address.emplace_back(); - result.txout_address_is_mine.emplace_back(ExtractDestination(txout.scriptPubKey, result.txout_address.back()) ? + result.txout_address_is_mine.emplace_back(ExtractDestination(txout.scriptPubKey, result.txout_address.back(), nullptr, true) ? wallet.IsMine(result.txout_address.back()) : ISMINE_NO); }