disable IX for proposal fees

This commit is contained in:
Evan Duffield 2015-07-30 14:27:25 -07:00
parent 1cf19c64ac
commit d57d6f0466

View File

@ -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);