Browse Source

Merge pull request #443 from jl777/dev

fix default volume for paxprice, doesnt affect consensus
pull/4/head
jl777 7 years ago
committed by GitHub
parent
commit
91324023d8
  1. 2
      src/rpcblockchain.cpp

2
src/rpcblockchain.cpp

@ -708,7 +708,7 @@ UniValue paxprice(const UniValue& params, bool fHelp)
height = chainActive.Tip()->nHeight;
else height = atoi(params[2].get_str().c_str());
//if ( params.size() == 3 || (basevolume= COIN * atof(params[3].get_str().c_str())) == 0 )
basevolume = 1;
basevolume = 100000;
relvolume = komodo_paxprice(&seed,height,(char *)base.c_str(),(char *)rel.c_str(),basevolume);
ret.push_back(Pair("base", base));
ret.push_back(Pair("rel", rel));

Loading…
Cancel
Save