Skip to content

Commit

Permalink
chore: comment to clarify in service_test
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6e616d committed Aug 11, 2024
1 parent ea29ff4 commit 1290de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/listener/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1290de1

Please sign in to comment.