File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -2026,11 +2026,6 @@ CAmount CWalletTx::GetImmatureWatchOnlyCredit(const bool fUseCache) const
2026
2026
return 0 ;
2027
2027
}
2028
2028
2029
- CAmount CWalletTx::GetAvailableWatchOnlyCredit (const bool fUseCache ) const
2030
- {
2031
- return GetAvailableCredit (fUseCache , ISMINE_WATCH_ONLY);
2032
- }
2033
-
2034
2029
CAmount CWalletTx::GetChange () const
2035
2030
{
2036
2031
if (fChangeCached )
@@ -2199,7 +2194,7 @@ CAmount CWallet::GetUnconfirmedWatchOnlyBalance() const
2199
2194
{
2200
2195
const CWalletTx* pcoin = &entry.second ;
2201
2196
if (!pcoin->IsTrusted () && pcoin->GetDepthInMainChain () == 0 && pcoin->InMempool ())
2202
- nTotal += pcoin->GetAvailableWatchOnlyCredit ( );
2197
+ nTotal += pcoin->GetAvailableCredit ( true , ISMINE_WATCH_ONLY );
2203
2198
}
2204
2199
}
2205
2200
return nTotal;
Original file line number Diff line number Diff line change @@ -462,7 +462,6 @@ class CWalletTx : public CMerkleTx
462
462
CAmount GetImmatureCredit (bool fUseCache =true ) const ;
463
463
CAmount GetAvailableCredit (bool fUseCache =true , const isminefilter& filter=ISMINE_SPENDABLE) const ;
464
464
CAmount GetImmatureWatchOnlyCredit (const bool fUseCache =true ) const ;
465
- CAmount GetAvailableWatchOnlyCredit (const bool fUseCache =true ) const ;
466
465
CAmount GetChange () const ;
467
466
468
467
// Get the marginal bytes if spending the specified output from this transaction
You can’t perform that action at this time.
0 commit comments