Skip to content

Commit 463fc3b

Browse files
authored
Merge pull request #1772 from cyrossignol/polls
gui: Remove legacy GUI transaction description for contracts
2 parents b52a5fa + aa82676 commit 463fc3b

File tree

2 files changed

+28
-325
lines changed

2 files changed

+28
-325
lines changed

src/qt/transactiondesc.cpp

+1-17
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ std::string PubKeyToGRCAddress(const CScript& scriptPubKey)
7878
QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, unsigned int vout)
7979
{
8080
QString strHTML;
81-
81+
8282
LOCK2(cs_main, wallet->cs_wallet);
8383

8484
strHTML.reserve(9250);
@@ -332,22 +332,6 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, unsigned int vo
332332
strHTML += "<br><br>" + tr("Gridcoin generated coins must mature 110 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to \"not accepted\" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.") + "<br>";
333333
}
334334

335-
else if (!wtx.hashBoinc.empty())
336-
{
337-
strHTML += "<hr><br><b>" + tr("Transaction Message Data") + "</b><br><br>";
338-
339-
std::vector<std::pair<std::string, std::string>> vTxNormalInfoIn = GetTxNormalBoincHashInfo(wtx);
340-
341-
for (auto const& vTxNormalInfo : vTxNormalInfoIn)
342-
{
343-
strHTML += "<b>";
344-
strHTML += MakeSafeMessage(vTxNormalInfo.first).c_str();
345-
strHTML += ": </b>";
346-
strHTML += MakeSafeMessage(vTxNormalInfo.second).c_str();
347-
strHTML += "<br>";
348-
}
349-
}
350-
351335
if (LogInstance().WillLogCategory(BCLog::LogFlags::VERBOSE) || true)
352336
{
353337
strHTML += "<hr><br><b>" + tr("Transaction Debits/Credits") + "</b><br><br>";

0 commit comments

Comments
 (0)