Test
This commit is contained in:
@@ -708,7 +708,7 @@ UniValue paxprice(const UniValue& params, bool fHelp)
|
|||||||
height = chainActive.Tip()->nHeight;
|
height = chainActive.Tip()->nHeight;
|
||||||
else height = atoi(params[2].get_str().c_str());
|
else height = atoi(params[2].get_str().c_str());
|
||||||
//if ( params.size() == 3 || (basevolume= COIN * atof(params[3].get_str().c_str())) == 0 )
|
//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);
|
relvolume = komodo_paxprice(&seed,height,(char *)base.c_str(),(char *)rel.c_str(),basevolume);
|
||||||
ret.push_back(Pair("base", base));
|
ret.push_back(Pair("base", base));
|
||||||
ret.push_back(Pair("rel", rel));
|
ret.push_back(Pair("rel", rel));
|
||||||
|
|||||||
Reference in New Issue
Block a user