aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/receive.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-07-04 19:47:05 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-07-05 10:10:27 -0300
commit0cb177263c36118094b7cd3b8f94741c0471ff62 (patch)
treed0fc35e0d60bce5717c763be3d9a87dbdc28f1bb /src/wallet/receive.h
parent04c6423f7b250ae1e51bb5cd159913e97494fb0e (diff)
downloadbitcoin-0cb177263c36118094b7cd3b8f94741c0471ff62.tar.xz
wallet: unify CachedTxGetImmatureCredit and CachedTxGetImmatureWatchOnlyCredit
Diffstat (limited to 'src/wallet/receive.h')
-rw-r--r--src/wallet/receive.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wallet/receive.h b/src/wallet/receive.h
index ec8d0d1baa..41a70b089a 100644
--- a/src/wallet/receive.h
+++ b/src/wallet/receive.h
@@ -29,9 +29,7 @@ CAmount CachedTxGetCredit(const CWallet& wallet, const CWalletTx& wtx, const ism
//! filter decides which addresses will count towards the debit
CAmount CachedTxGetDebit(const CWallet& wallet, const CWalletTx& wtx, const isminefilter& filter);
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)
+CAmount CachedTxGetImmatureCredit(const CWallet& wallet, const CWalletTx& wtx, const isminefilter& filter)
EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet);
CAmount CachedTxGetAvailableCredit(const CWallet& wallet, const CWalletTx& wtx, const isminefilter& filter = ISMINE_SPENDABLE)
EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet);