diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp
index 7e74eab1d..5f6dd33b5 100644
--- a/src/qt/transactiondesc.cpp
+++ b/src/qt/transactiondesc.cpp
@@ -225,13 +225,16 @@ QString TransactionDesc::toHTML_Amounts(interfaces::Wallet& wallet, const interf
for (const isminetype mine : wtx.txin_is_mine) {
if (fAllFromMe > mine) fAllFromMe = mine;
}
- // MW: TODO - Pegouts?
isminetype fAllToMe = ISMINE_SPENDABLE;
for (const isminetype mine : wtx.txout_is_mine) {
if (fAllToMe > mine) fAllToMe = mine;
}
+ for (const isminetype mine : wtx.pegout_is_mine) {
+ if (fAllToMe > mine) fAllToMe = mine;
+ }
+
if (fAllFromMe) {
if (fAllFromMe & ISMINE_WATCH_ONLY)
strHTML += "" + tr("From") + ": " + tr("watch-only") + "
";