From 91902b77202fc636edb3db587cb6e87d9fb9b60a Mon Sep 17 00:00:00 2001 From: furszy Date: Wed, 27 Apr 2022 10:37:50 -0300 Subject: wallet: IsLockedCoin, 'COutPoint' arg instead of (hash, index) --- src/wallet/spend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/spend.cpp') diff --git a/src/wallet/spend.cpp b/src/wallet/spend.cpp index 78d3ad4b88..14edfecdca 100644 --- a/src/wallet/spend.cpp +++ b/src/wallet/spend.cpp @@ -179,7 +179,7 @@ CoinsResult AvailableCoins(const CWallet& wallet, if (coinControl && coinControl->HasSelected() && !coinControl->fAllowOtherInputs && !coinControl->IsSelected(outpoint)) continue; - if (wallet.IsLockedCoin(wtxid, i)) + if (wallet.IsLockedCoin(outpoint)) continue; if (wallet.IsSpent(wtxid, i)) -- cgit v1.2.3