diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-07-04 19:47:05 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-07-05 10:10:27 -0300 |
commit | 0cb177263c36118094b7cd3b8f94741c0471ff62 (patch) | |
tree | d0fc35e0d60bce5717c763be3d9a87dbdc28f1bb /src/wallet/receive.h | |
parent | 04c6423f7b250ae1e51bb5cd159913e97494fb0e (diff) | |
download | bitcoin-0cb177263c36118094b7cd3b8f94741c0471ff62.tar.xz |
wallet: unify CachedTxGetImmatureCredit and CachedTxGetImmatureWatchOnlyCredit
Diffstat (limited to 'src/wallet/receive.h')
-rw-r--r-- | src/wallet/receive.h | 4 |
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); |