File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -372,17 +372,11 @@ struct WalletBalances
372
372
CAmount balance = 0 ;
373
373
CAmount unconfirmed_balance = 0 ;
374
374
CAmount immature_balance = 0 ;
375
- bool have_watch_only = false ;
376
- CAmount watch_only_balance = 0 ;
377
- CAmount unconfirmed_watch_only_balance = 0 ;
378
- CAmount immature_watch_only_balance = 0 ;
379
375
380
376
bool balanceChanged (const WalletBalances& prev) const
381
377
{
382
378
return balance != prev.balance || unconfirmed_balance != prev.unconfirmed_balance ||
383
- immature_balance != prev.immature_balance || watch_only_balance != prev.watch_only_balance ||
384
- unconfirmed_watch_only_balance != prev.unconfirmed_watch_only_balance ||
385
- immature_watch_only_balance != prev.immature_watch_only_balance ;
379
+ immature_balance != prev.immature_balance ;
386
380
}
387
381
};
388
382
Original file line number Diff line number Diff line change @@ -399,7 +399,6 @@ class WalletImpl : public Wallet
399
399
result.balance = bal.m_mine_trusted ;
400
400
result.unconfirmed_balance = bal.m_mine_untrusted_pending ;
401
401
result.immature_balance = bal.m_mine_immature ;
402
- result.have_watch_only = false ;
403
402
return result;
404
403
}
405
404
bool tryGetBalances (WalletBalances& balances, uint256& block_hash) override
You can’t perform that action at this time.
0 commit comments