Skip to content

Commit

Permalink
show encrypted msg in transaction details (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex v authored Mar 18, 2021
1 parent 6850051 commit f10c28e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qt/transactiondesc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
//
if (wtx.mapValue.count("message") && !wtx.mapValue["message"].empty())
strHTML += "<br><b>" + tr("Message") + ":</b><br>" + GUIUtil::HtmlEscape(wtx.mapValue["message"], true) + "<br>";
if (!rec->memo.empty())
strHTML += "<br><b>" + tr("Encrypted message") + ":</b> " + GUIUtil::HtmlEscape(rec->memo, true) + "<br>";
if (wtx.mapValue.count("comment") && !wtx.mapValue["comment"].empty())
strHTML += "<br><b>" + tr("Comment") + ":</b><br>" + GUIUtil::HtmlEscape(wtx.mapValue["comment"], true) + "<br>";

Expand Down

0 comments on commit f10c28e

Please sign in to comment.