Skip to content

Commit

Permalink
Pass opts to AvailableCoins from GetAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Mar 9, 2023
1 parent 6f816f8 commit 5f40e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternodes/mn_rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static std::optional<CTxIn> GetAuthInputOnly(CWalletCoinsUnlocker& pwallet, CTxD
LOCK2(pwallet->cs_wallet, locked_chain->mutex());

// Note, for auth, we call this with 1 as max count, so should early exit
pwallet->AvailableCoins(*locked_chain, vecOutputs, true, &cctl, 1, MAX_MONEY, MAX_MONEY, 1);
pwallet->AvailableCoins(*locked_chain, vecOutputs, true, &cctl, 1, MAX_MONEY, MAX_MONEY, 1, coinSelectOpts);

if (vecOutputs.empty()) {
return {};
Expand Down

0 comments on commit 5f40e5f

Please sign in to comment.