Skip to content

Commit c015634

Browse files
committed
qt: Adding transaction size to transaction details window
1 parent fdf82fb commit c015634

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qt/transactiondesc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
241241
strHTML += "<br><b>" + tr("Comment") + ":</b><br>" + GUIUtil::HtmlEscape(wtx.mapValue["comment"], true) + "<br>";
242242

243243
strHTML += "<b>" + tr("Transaction ID") + ":</b> " + rec->getTxID() + "<br>";
244+
strHTML += "<b>" + tr("Transaction size") + ":</b> " + QString::number(wtx.GetTotalSize()) + " bytes<br>";
244245
strHTML += "<b>" + tr("Output index") + ":</b> " + QString::number(rec->getOutputIndex()) + "<br>";
245246

246247
// Message from normal bitcoin:URI (bitcoin:123...?message=example)

0 commit comments

Comments
 (0)