SKALE-3023 fix build

parent 14f85d82
......@@ -81,7 +81,7 @@ void isKeyExists(const std::string& key) {
jsonrpc::HttpClient client("http://localhost:1030");
StubClient c(client, jsonrpc::JSONRPC_CLIENT_V2);
std::cout << "Info client inited" << std::endl;
if (c.isKeyExist(key)["IsExist"]) {
if (c.isKeyExist(key)["IsExist"].asBool()) {
std::cout << "Key with name " << key << "presents in server database.";
} else {
std::cout << "Key with name " << key << "does not exist in server's database.";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment