diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-07-04 19:39:53 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-07-05 10:10:27 -0300 |
commit | 47b1012677821ce2939e10ba462fbe53ffff17df (patch) | |
tree | 8cf692f77fe784e81cc39bb2041090cb04332025 /src/wallet/receive.h | |
parent | da8f62de2c5561e091ef8073d6950c033f41aabf (diff) | |
download | bitcoin-47b1012677821ce2939e10ba462fbe53ffff17df.tar.xz |
wallet: remove always true 'fUseCache' from CachedTxGetImmatureWatchOnlyCredit
Diffstat (limited to 'src/wallet/receive.h')
-rw-r--r-- | src/wallet/receive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/receive.h b/src/wallet/receive.h index 0283bdcfca..e365d49edc 100644 --- a/src/wallet/receive.h +++ b/src/wallet/receive.h @@ -31,7 +31,7 @@ CAmount CachedTxGetDebit(const CWallet& wallet, const CWalletTx& wtx, const ismi CAmount CachedTxGetChange(const CWallet& wallet, const CWalletTx& wtx); CAmount CachedTxGetImmatureCredit(const CWallet& wallet, const CWalletTx& wtx) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet); -CAmount CachedTxGetImmatureWatchOnlyCredit(const CWallet& wallet, const CWalletTx& wtx, const bool fUseCache = true) +CAmount CachedTxGetImmatureWatchOnlyCredit(const CWallet& wallet, const CWalletTx& wtx) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet); CAmount CachedTxGetAvailableCredit(const CWallet& wallet, const CWalletTx& wtx, bool fUseCache = true, const isminefilter& filter = ISMINE_SPENDABLE) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet); |