From 22851df145479460ba3b0d05a618530cbf3fdfd2 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Tue, 2 Jun 2020 18:45:50 +0200 Subject: [PATCH] Undo change in events_test Signed-off-by: Jakub Sztandera --- chain/events/events_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chain/events/events_test.go b/chain/events/events_test.go index c81c04b32..a048789ec 100644 --- a/chain/events/events_test.go +++ b/chain/events/events_test.go @@ -209,6 +209,9 @@ func (fcs *fakeCS) advance(rev, app int, msgs map[int]cid.Cid, nulls ...int) { / fcs.sync.Lock() fcs.sub(revs, apps) + + fcs.sync.Lock() + fcs.sync.Unlock() //nolint:staticcheck } func (fcs *fakeCS) notifDone() {