fixes from review

This commit is contained in:
Ethan Buchman
2017-05-15 12:59:44 -04:00
parent d82c7edf3a
commit 5dabeffb35
4 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -38,12 +38,12 @@ func startClient(abciType string) abcicli.Client {
if err != nil {
panic(err.Error())
}
logger := log.NewTMLogger(log.NewSyncWriter(os.Stdout))
client.SetLogger(logger.With("module", "abcicli"))
if _, err := client.Start(); err != nil {
panic("connecting to abci_app: " + err.Error())
}
logger := log.NewTMLogger(log.NewSyncWriter(os.Stdout))
client.SetLogger(logger.With("module", "abcicli"))
return client
}