NewLocalClientCreator returns a ClientCreator for the given app, which will be running locally.
(app types.Application)
| 30 | // NewLocalClientCreator returns a ClientCreator for the given app, |
| 31 | // which will be running locally. |
| 32 | func NewLocalClientCreator(app types.Application) ClientCreator { |
| 33 | return &localClientCreator{ |
| 34 | mtx: new(tmsync.Mutex), |
| 35 | app: app, |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | func (l *localClientCreator) NewABCIClient() (abcicli.Client, error) { |
| 40 | return abcicli.NewLocalClient(l.mtx, l.app), nil |
no outgoing calls