From 1290de1ebb6361c5803fb6d87de43c16e326f62b Mon Sep 17 00:00:00 2001 From: 0x6e616d Date: Sun, 11 Aug 2024 11:53:45 +0700 Subject: [PATCH] chore: comment to clarify in service_test --- internal/pkg/listener/service_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/listener/service_test.go b/internal/pkg/listener/service_test.go index e1a686e..1fa4d35 100644 --- a/internal/pkg/listener/service_test.go +++ b/internal/pkg/listener/service_test.go @@ -86,7 +86,7 @@ func Test_handleReorgBlock(t *testing.T) { err = keeper.SetHead(ctx, header, constant.ZeroHash) require.NoError(t, err) - // pass through two blocks + // This causes the gap between the current head in the keeper and the latest head at least two blocks time.Sleep(24 * time.Second) header, err = bcClient.GetHeader(ctx)