fix: network info dissapread

This commit is contained in:
moneroexamples 2017-06-08 13:47:22 +08:00
parent 1fe5a2185f
commit 2647ae3d1c
1 changed files with 2 additions and 5 deletions

View File

@ -379,10 +379,7 @@ namespace xmreg
{
json j_info;
if (!get_monero_network_info(j_info))
{
return json{};
}
get_monero_network_info(j_info);
return j_info;
});