File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1212
1313using wallet::ISMINE_SPENDABLE;
1414using wallet::ISMINE_NO;
15- using wallet::ISMINE_WATCH_ONLY;
1615using wallet::isminetype;
1716
1817namespace {
@@ -150,18 +149,12 @@ QList<QSharedPointer<Transaction>> Transaction::fromWalletTx(const interfaces::W
150149 } else {
151150 for (const isminetype mine : wtx.txin_is_mine )
152151 {
153- if (mine & ISMINE_WATCH_ONLY) involvesWatchAddress = true ;
154152 if (fAllFromMe > mine) fAllFromMe = mine;
155153 if (mine) any_from_me = true ;
156154 }
157155 }
158156
159157 if (fAllFromMe || !any_from_me) {
160- for (const isminetype mine : wtx.txout_is_mine )
161- {
162- if (mine & ISMINE_WATCH_ONLY) involvesWatchAddress = true ;
163- }
164-
165158 CAmount nTxFee = nDebit - wtx.tx ->GetValueOut ();
166159
167160
@@ -219,7 +212,7 @@ QList<QSharedPointer<Transaction>> Transaction::fromWalletTx(const interfaces::W
219212 QSharedPointer<Transaction> sub = QSharedPointer<Transaction>::create (hash, nTime);
220213 sub->idx = i; // vout index
221214 sub->credit = txout.nValue ;
222- sub->involvesWatchAddress = mine & ISMINE_WATCH_ONLY ;
215+ sub->involvesWatchAddress = false ;
223216 if (wtx.txout_address_is_mine [i])
224217 {
225218 // Received by Bitcoin Address
You can’t perform that action at this time.
0 commit comments