abci: change client to use multi-reader mutexes (backport #6306) (#6873)

This commit is contained in:
mergify[bot]
2021-08-30 11:57:39 -04:00
committed by GitHub
parent 0c05841902
commit e0c6199aae
8 changed files with 37 additions and 29 deletions

View File

@@ -153,7 +153,7 @@ func TestReactorWithEvidence(t *testing.T) {
blockStore := store.NewBlockStore(blockDB)
// one for mempool, one for consensus
mtx := new(tmsync.Mutex)
mtx := new(tmsync.RWMutex)
proxyAppConnMem := abcicli.NewLocalClient(mtx, app)
proxyAppConnCon := abcicli.NewLocalClient(mtx, app)