Get info from server first

This commit is contained in:
Aditya Kulkarni
2019-09-18 21:26:57 -07:00
parent 80c900d567
commit a5fe61cc1f
3 changed files with 23 additions and 13 deletions

View File

@@ -117,7 +117,8 @@ impl Command for InfoCommand {
fn exec(&self, _args: &[&str], lightclient: &LightClient) -> String {
lightclient.do_sync(true);
lightclient.do_info()
LightClient::do_info(lightclient.get_server_uri())
}
}