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

@ -7,6 +7,8 @@ import (
// Tendermint's interface to the application consists of multiple connections
type AppConns interface {
Service
Mempool() AppConnMempool
Consensus() AppConnConsensus
Query() AppConnQuery
@ -42,7 +44,6 @@ func NewMultiAppConn(config cfg.Config, clientCreator ClientCreator, state State
clientCreator: clientCreator,
}
multiAppConn.QuitService = *NewQuitService(log, "multiAppConn", multiAppConn)
multiAppConn.Start()
return multiAppConn
}