mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-10 15:07:24 +00:00
changes as per Bucky's review
This commit is contained in:
@@ -68,9 +68,9 @@ func (app *multiAppConn) Query() AppConnQuery {
|
||||
}
|
||||
|
||||
func (app *multiAppConn) OnStart() error {
|
||||
|
||||
// query connection
|
||||
querycli, err := app.clientCreator.NewABCIClient()
|
||||
querycli.SetLogger(app.Logger.With("module", "abci-client", "connection", "query"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -78,6 +78,7 @@ func (app *multiAppConn) OnStart() error {
|
||||
|
||||
// mempool connection
|
||||
memcli, err := app.clientCreator.NewABCIClient()
|
||||
memcli.SetLogger(app.Logger.With("module", "abci-client", "connection", "mempool"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -85,6 +86,7 @@ func (app *multiAppConn) OnStart() error {
|
||||
|
||||
// consensus connection
|
||||
concli, err := app.clientCreator.NewABCIClient()
|
||||
concli.SetLogger(app.Logger.With("module", "abci-client", "connection", "consensus"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user