aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorHampus Sjöberg <[email protected]>2016-09-06 22:31:36 +0200
committerHampus Sjöberg <[email protected]>2016-09-06 22:31:36 +0200
commitc015634400f112f8b7f037c82690f1332d7971a3 (patch)
treec7df8e9ae74cdd14620a69bb97ca32a65df72542 /src/qt
parentAdding method GetTotalSize() to CTransaction (diff)
downloaddiscoin-c015634400f112f8b7f037c82690f1332d7971a3.tar.xz
discoin-c015634400f112f8b7f037c82690f1332d7971a3.zip
qt: Adding transaction size to transaction details window
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/transactiondesc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp
index bae0cbd1c..32b3955ce 100644
--- a/src/qt/transactiondesc.cpp
+++ b/src/qt/transactiondesc.cpp
@@ -241,6 +241,7 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
strHTML += "<br><b>" + tr("Comment") + ":</b><br>" + GUIUtil::HtmlEscape(wtx.mapValue["comment"], true) + "<br>";
strHTML += "<b>" + tr("Transaction ID") + ":</b> " + rec->getTxID() + "<br>";
+ strHTML += "<b>" + tr("Transaction size") + ":</b> " + QString::number(wtx.GetTotalSize()) + " bytes<br>";
strHTML += "<b>" + tr("Output index") + ":</b> " + QString::number(rec->getOutputIndex()) + "<br>";
// Message from normal bitcoin:URI (bitcoin:123...?message=example)