Merge branch 'fedekunze/2819-fix-tx-search' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search

Merge branch
This commit is contained in:
Federico Kunze
2018-11-28 00:01:02 +01:00
4 changed files with 21 additions and 17 deletions
+8 -5
View File
@@ -127,18 +127,21 @@ func (rs *RestServer) Start(listenAddr string, sslHosts string,
if err != nil {
return
}
go rpcserver.StartHTTPAndTLSServer(
rs.log.Info("Starting Gaia Lite REST service...")
rs.log.Info(rs.fingerprint)
err := rpcserver.StartHTTPAndTLSServer(
rs.listener,
rs.Mux,
certFile, keyFile,
rs.log,
)
rs.log.Info(rs.fingerprint)
rs.log.Info("REST server started")
if err != nil {
return err
}
}
// logger.Info("REST server started")
return nil
}