We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1655947 commit 0aeab14Copy full SHA for 0aeab14
src/qt/transactionrecord.cpp
@@ -85,8 +85,13 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const interface
85
}
86
87
isminetype fAllToMe = ISMINE_SPENDABLE;
88
- for (const isminetype mine : wtx.txout_is_mine)
89
- {
+ for (unsigned int i = 0; i < wtx.txout_is_mine.size(); ++i) {
+ const isminetype mine = wtx.txout_is_mine[i];
90
+ const CTxOut txout = wtx.tx->vout[i];
91
+ if (txout.IsFee()) {
92
+ // explicit fee; ignore
93
+ continue;
94
+ }
95
if(mine & ISMINE_WATCH_ONLY) involvesWatchAddress = true;
96
if(fAllToMe > mine) fAllToMe = mine;
97
0 commit comments