aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/spend.cpp
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-04-27 10:37:50 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-06-08 10:26:48 -0300
commit91902b77202fc636edb3db587cb6e87d9fb9b60a (patch)
treedb865522da24521a1cf7453ee8038c7ba0b6a584 /src/wallet/spend.cpp
parent9472ca0a65396206b3078bddf98f4c1807be2d82 (diff)
downloadbitcoin-91902b77202fc636edb3db587cb6e87d9fb9b60a.tar.xz
wallet: IsLockedCoin, 'COutPoint' arg instead of (hash, index)
Diffstat (limited to 'src/wallet/spend.cpp')
-rw-r--r--src/wallet/spend.cpp2
1 files changed, 1 insertions, 1 deletions
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))