Test
This commit is contained in:
@@ -581,8 +581,8 @@ Value paxpending(const Array& params, bool fHelp)
|
|||||||
|
|
||||||
Value paxprice(const Array& params, bool fHelp)
|
Value paxprice(const Array& params, bool fHelp)
|
||||||
{
|
{
|
||||||
if ( fHelp || params.size() < 3 || params.size() > 4 )
|
if ( fHelp || params.size() > 3 || params.size() < 2 )
|
||||||
throw runtime_error("paxprice \"base\" \"rel\" height amount\n");
|
throw runtime_error("paxprice \"base\" \"rel\" height\n");
|
||||||
LOCK(cs_main);
|
LOCK(cs_main);
|
||||||
Object ret; uint64_t basevolume=0,relvolume,seed;
|
Object ret; uint64_t basevolume=0,relvolume,seed;
|
||||||
std::string base = params[0].get_str();
|
std::string base = params[0].get_str();
|
||||||
|
|||||||
Reference in New Issue
Block a user