This commit is contained in:
jl777
2017-06-27 17:36:24 +03:00
parent 571f648d41
commit 31dd13ad40

View File

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