diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-04-27 10:52:30 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-06-08 11:22:39 -0300 |
commit | a06fa94ff81e2bccef0316ea5ec4eca0f4de5071 (patch) | |
tree | 2539c545d00292374270690795d78a91b92fee6c /src/wallet/spend.cpp | |
parent | 91902b77202fc636edb3db587cb6e87d9fb9b60a (diff) | |
download | bitcoin-a06fa94ff81e2bccef0316ea5ec4eca0f4de5071.tar.xz |
wallet: IsSpent, 'COutPoint' arg instead of (hash, index)
Diffstat (limited to 'src/wallet/spend.cpp')
-rw-r--r-- | src/wallet/spend.cpp | 2 |
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); |