mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
wallet: IsSpent, 'COutPoint' arg instead of (hash, index)
This commit is contained in:
parent
91902b7720
commit
a06fa94ff8
7 changed files with 15 additions and 18 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue