This commit is contained in:
jl777
2017-03-21 18:56:59 +02:00
parent 6a4a0c4727
commit 67a128db46

View File

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