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 12
12
13
13
using wallet::ISMINE_SPENDABLE;
14
14
using wallet::ISMINE_NO;
15
- using wallet::ISMINE_WATCH_ONLY;
16
15
using wallet::isminetype;
17
16
18
17
namespace {
@@ -150,18 +149,12 @@ QList<QSharedPointer<Transaction>> Transaction::fromWalletTx(const interfaces::W
150
149
} else {
151
150
for (const isminetype mine : wtx.txin_is_mine )
152
151
{
153
- if (mine & ISMINE_WATCH_ONLY) involvesWatchAddress = true ;
154
152
if (fAllFromMe > mine) fAllFromMe = mine;
155
153
if (mine) any_from_me = true ;
156
154
}
157
155
}
158
156
159
157
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
-
165
158
CAmount nTxFee = nDebit - wtx.tx ->GetValueOut ();
166
159
167
160
@@ -219,7 +212,7 @@ QList<QSharedPointer<Transaction>> Transaction::fromWalletTx(const interfaces::W
219
212
QSharedPointer<Transaction> sub = QSharedPointer<Transaction>::create (hash, nTime);
220
213
sub->idx = i; // vout index
221
214
sub->credit = txout.nValue ;
222
- sub->involvesWatchAddress = mine & ISMINE_WATCH_ONLY ;
215
+ sub->involvesWatchAddress = false ;
223
216
if (wtx.txout_address_is_mine [i])
224
217
{
225
218
// Received by Bitcoin Address
You can’t perform that action at this time.
0 commit comments