mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 19:53:58 +00:00
This commit is contained in:
@@ -21,7 +21,7 @@ type ClientCreator interface {
|
||||
// local proxy uses a mutex on an in-proc app
|
||||
|
||||
type localClientCreator struct {
|
||||
mtx *tmsync.RWMutex
|
||||
mtx *tmsync.Mutex
|
||||
app types.Application
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ type localClientCreator struct {
|
||||
// which will be running locally.
|
||||
func NewLocalClientCreator(app types.Application) ClientCreator {
|
||||
return &localClientCreator{
|
||||
mtx: new(tmsync.RWMutex),
|
||||
mtx: new(tmsync.Mutex),
|
||||
app: app,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user