check tmsp client err and set mustConnect=false

This commit is contained in:
Ethan Buchman
2016-09-11 16:02:29 -04:00
parent 0fd8c98301
commit c7e578ac0d
4 changed files with 7 additions and 4 deletions

View File

@ -68,6 +68,9 @@ func NewNode(config cfg.Config, privValidator *types.PrivValidator, clientCreato
// Create the proxyApp, which houses three connections:
// query, consensus, and mempool
proxyApp := proxy.NewAppConns(config, clientCreator, state, blockStore)
if _, err := proxyApp.Start(); err != nil {
Exit(Fmt("Error starting proxy app connections: %v", err))
}
// add the chainid and number of validators to the global config
config.Set("chain_id", state.ChainID)