disable IX for proposal fees
This commit is contained in:
parent
1cf19c64ac
commit
d57d6f0466
@ -98,12 +98,12 @@ Value mnbudget(const Array& params, bool fHelp)
|
||||
if(!budgetProposalBroadcast.IsValid(strError, false))
|
||||
return "Proposal is not valid - " + budgetProposalBroadcast.GetHash().ToString() + " - " + strError;
|
||||
|
||||
bool useIX = true;
|
||||
if (params.size() > 7) {
|
||||
if(params[7].get_str() != "false" && params[7].get_str() != "true")
|
||||
return "Invalid use_ix, must be true or false";
|
||||
useIX = params[7].get_str() == "true" ? true : false;
|
||||
}
|
||||
bool useIX = false; //true;
|
||||
// if (params.size() > 7) {
|
||||
// if(params[7].get_str() != "false" && params[7].get_str() != "true")
|
||||
// return "Invalid use_ix, must be true or false";
|
||||
// useIX = params[7].get_str() == "true" ? true : false;
|
||||
// }
|
||||
|
||||
CWalletTx wtx;
|
||||
pwalletMain->GetBudgetSystemCollateralTX(wtx, budgetProposalBroadcast.GetHash(), useIX);
|
||||
|
Loading…
Reference in New Issue
Block a user