test
This commit is contained in:
@@ -436,6 +436,18 @@ Value notaries(const Array& params, bool fHelp)
|
||||
return ret;
|
||||
}
|
||||
|
||||
Value withdraws_pending(const Array& params, bool fHelp)
|
||||
{
|
||||
Object ret; char opretbuf[10000*2]; int32_t opretlen;
|
||||
if ( fHelp || params.size() != 0 )
|
||||
throw runtime_error("withdraws_pending needs no args\n");
|
||||
LOCK(cs_main);
|
||||
if ( (opretlen= komodo_pending_withdraws(opretbuf)) > 0 )
|
||||
ret.push_back(Pair("withdraws", opretbuf));
|
||||
else ret.push_back(Pair("withdraws", (char *)""));
|
||||
return ret;
|
||||
}
|
||||
|
||||
Value paxprice(const Array& params, bool fHelp)
|
||||
{
|
||||
if ( fHelp || params.size() < 3 || params.size() > 4 )
|
||||
|
||||
Reference in New Issue
Block a user