From f10c28e70b9308b1b3518f41f6863a9a93e2f5e7 Mon Sep 17 00:00:00 2001 From: alex v Date: Thu, 18 Mar 2021 07:39:24 +0100 Subject: [PATCH] show encrypted msg in transaction details (#818) --- src/qt/transactiondesc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp index b06aaa49a..323a68556 100644 --- a/src/qt/transactiondesc.cpp +++ b/src/qt/transactiondesc.cpp @@ -236,6 +236,8 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco // if (wtx.mapValue.count("message") && !wtx.mapValue["message"].empty()) strHTML += "
" + tr("Message") + ":
" + GUIUtil::HtmlEscape(wtx.mapValue["message"], true) + "
"; + if (!rec->memo.empty()) + strHTML += "
" + tr("Encrypted message") + ": " + GUIUtil::HtmlEscape(rec->memo, true) + "
"; if (wtx.mapValue.count("comment") && !wtx.mapValue["comment"].empty()) strHTML += "
" + tr("Comment") + ":
" + GUIUtil::HtmlEscape(wtx.mapValue["comment"], true) + "
";