Fix rpc.node_id test (#2200)

This commit is contained in:
Sergey Kroshnin 2019-08-06 16:50:05 +03:00 committed by GitHub
commit 8e09365d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5886,7 +5886,7 @@ TEST (rpc, node_id)
ASSERT_EQ (200, response.status);
ASSERT_EQ (system.nodes[0]->node_id.prv.data.to_string (), response.json.get<std::string> ("private"));
ASSERT_EQ (system.nodes[0]->node_id.pub.to_account (), response.json.get<std::string> ("as_account"));
ASSERT_EQ (system.nodes[0]->node_id.pub.to_node_id (), response.json.get<std::string> ("as_node_id"));
ASSERT_EQ (system.nodes[0]->node_id.pub.to_node_id (), response.json.get<std::string> ("node_id"));
}
TEST (rpc, stats_clear)