aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/spend.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-01-14 11:51:38 +0100
committerMarcoFalke <falke.marco@gmail.com>2022-01-25 10:15:12 +0100
commitfa272eab44553df9b0bed3ca20caf2a7bd193680 (patch)
tree98c2014dec777f8d2b04e2360874e8c2f2c09071 /src/wallet/spend.cpp
parent888841ea8d38fc059ca06ef67af7f31f8d8418a4 (diff)
downloadbitcoin-fa272eab44553df9b0bed3ca20caf2a7bd193680.tar.xz
wallet: Avoid dropping confirmed coins
Diffstat (limited to 'src/wallet/spend.cpp')
-rw-r--r--src/wallet/spend.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/spend.cpp b/src/wallet/spend.cpp
index d87bdc8679..d859038eaa 100644
--- a/src/wallet/spend.cpp
+++ b/src/wallet/spend.cpp
@@ -105,10 +105,6 @@ void AvailableCoins(const CWallet& wallet, std::vector<COutput>& vCoins, const C
const uint256& wtxid = entry.first;
const CWalletTx& wtx = entry.second;
- if (!wallet.chain().checkFinalTx(*wtx.tx)) {
- continue;
- }
-
if (wallet.IsTxImmatureCoinBase(wtx))
continue;