mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Ensure that a valid RPC response is received through IPC
This commit is contained in:
+1
-1
@@ -302,7 +302,7 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector<string> const&
|
||||
//cout << "Reply: " << reply << endl;
|
||||
|
||||
Json::Value result;
|
||||
Json::Reader().parse(reply, result, false);
|
||||
BOOST_REQUIRE(Json::Reader().parse(reply, result, false));
|
||||
|
||||
if (result.isMember("error"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user