Skip to content

Commit

Permalink
Pass opts to GetAuth for votegov
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Mar 9, 2023
1 parent 4b2df78 commit 6f816f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternodes/rpc_proposals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ UniValue votegov(const JSONRPCRequest &request) {
CTransactionRef optAuthTx;
std::set<CScript> auths = {GetScriptForDestination(ownerDest)};
rawTx.vin =
GetAuthInputsSmart(pwallet, rawTx.nVersion, auths, false /*needFoundersAuth*/, optAuthTx, request.params[3]);
GetAuthInputsSmart(pwallet, rawTx.nVersion, auths, false /*needFoundersAuth*/, optAuthTx, request.params[3], request.metadata.coinSelectOpts);

rawTx.vout.emplace_back(CTxOut(0, scriptMeta));

Expand Down

0 comments on commit 6f816f8

Please sign in to comment.