mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-23 13:29:43 +02:00
wallet: IsLockedCoin, 'COutPoint' arg instead of (hash, index)
This commit is contained in:
@@ -179,7 +179,7 @@ CoinsResult AvailableCoins(const CWallet& wallet,
|
||||
if (coinControl && coinControl->HasSelected() && !coinControl->fAllowOtherInputs && !coinControl->IsSelected(outpoint))
|
||||
continue;
|
||||
|
||||
if (wallet.IsLockedCoin(wtxid, i))
|
||||
if (wallet.IsLockedCoin(outpoint))
|
||||
continue;
|
||||
|
||||
if (wallet.IsSpent(wtxid, i))
|
||||
|
||||
Reference in New Issue
Block a user