mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Less debugging.
This commit is contained in:
@@ -97,13 +97,11 @@ static Json::Value jvParseCurrencyIssuer(const std::string& strCurrencyIssuer)
|
|||||||
|
|
||||||
boost::smatch smMatch;
|
boost::smatch smMatch;
|
||||||
|
|
||||||
bool bMatch = boost::regex_match(strCurrencyIssuer, smMatch, reCurIss); // Match status code.
|
if (boost::regex_match(strCurrencyIssuer, smMatch, reCurIss))
|
||||||
|
|
||||||
if (bMatch)
|
|
||||||
{
|
{
|
||||||
Json::Value jvResult(Json::objectValue);
|
Json::Value jvResult(Json::objectValue);
|
||||||
std::string strCurrency = smMatch[1];
|
std::string strCurrency = smMatch[1];
|
||||||
std::string strIssuer = smMatch[2];
|
std::string strIssuer = smMatch[2];
|
||||||
|
|
||||||
jvResult["currency"] = strCurrency;
|
jvResult["currency"] = strCurrency;
|
||||||
|
|
||||||
@@ -733,7 +731,7 @@ int commandLineRPC(const std::vector<std::string>& vCmd)
|
|||||||
|
|
||||||
jvRequest = rpParser.parseCommand(vCmd[0], jvRpcParams);
|
jvRequest = rpParser.parseCommand(vCmd[0], jvRpcParams);
|
||||||
|
|
||||||
std::cerr << "Request: " << jvRequest << std::endl;
|
cLog(lsTRACE) << "RPC Request: " << jvRequest << std::endl;
|
||||||
|
|
||||||
if (jvRequest.isMember("error"))
|
if (jvRequest.isMember("error"))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user