wallet: IsSpent, 'COutPoint' arg instead of (hash, index)

This commit is contained in:
furszy
2022-04-27 10:52:30 -03:00
parent 91902b7720
commit a06fa94ff8
7 changed files with 15 additions and 18 deletions

View File

@@ -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);