mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
wallet: IsSpent, 'COutPoint' arg instead of (hash, index)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user