This commit is contained in:
jed
2012-06-07 15:02:22 -07:00
parent 6770fdf0b3
commit a098f95648
6 changed files with 33 additions and 5 deletions

View File

@@ -145,6 +145,7 @@ Json::Value callRPC(const std::string& strMethod, const Json::Value& params)
throw std::runtime_error("no response from server");
// Parse reply
std::cout << "RPC reply: " << strReply << std::endl;
Json::Reader reader;
Json::Value valReply;
if (!reader.parse(strReply, valReply))