SKALE-3023 fix build

parent 9afc6438
...@@ -81,7 +81,7 @@ void isKeyExists(const std::string& key) { ...@@ -81,7 +81,7 @@ void isKeyExists(const std::string& key) {
jsonrpc::HttpClient client("http://localhost:1030"); jsonrpc::HttpClient client("http://localhost:1030");
StubClient c(client, jsonrpc::JSONRPC_CLIENT_V2); StubClient c(client, jsonrpc::JSONRPC_CLIENT_V2);
std::cout << "Info client inited" << std::endl; std::cout << "Info client inited" << std::endl;
if (c.isKeyExist(key)) { if (c.isKeyExist(key)["IsExist"]) {
std::cout << "Key with name " << key << "presents in server database."; std::cout << "Key with name " << key << "presents in server database.";
} else { } else {
std::cout << "Key with name " << key << "does not exist in server's database."; 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