aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/spend.cpp
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-04-27 10:52:30 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-06-08 11:22:39 -0300
commita06fa94ff81e2bccef0316ea5ec4eca0f4de5071 (patch)
tree2539c545d00292374270690795d78a91b92fee6c /src/wallet/spend.cpp
parent91902b77202fc636edb3db587cb6e87d9fb9b60a (diff)
downloadbitcoin-a06fa94ff81e2bccef0316ea5ec4eca0f4de5071.tar.xz
wallet: IsSpent, '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 14edfecdca..d178358048 100644
--- a/src/wallet/spend.cpp
+++ b/src/wallet/spend.cpp
@@ -182,7 +182,7 @@ CoinsResult AvailableCoins(const CWallet& wallet,
if (wallet.IsLockedCoin(outpoint))
continue;
- if (wallet.IsSpent(wtxid, i))
+ if (wallet.IsSpent(outpoint))
continue;
isminetype mine = wallet.IsMine(output);