fixes after my own review

This commit is contained in:
Anton Kaliaev
2019-02-02 11:30:36 +04:00
parent d185bdb944
commit 6464bcba7d
5 changed files with 55 additions and 60 deletions

View File

@@ -1290,7 +1290,6 @@ func (n *fakeTxNotifier) Notify() {
func TestStartNextHeightCorrectly(t *testing.T) {
config.Consensus.SkipTimeoutCommit = false
cs1, vss := randConsensusState(4)
// DATA RACE
cs1.txNotifier = &fakeTxNotifier{ch: make(chan struct{})}
vs2, vs3, vs4 := vss[1], vss[2], vss[3]