From 8b65f9143c1e4f61adf6d3ae99a47e008c9139a7 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Tue, 4 Jul 2023 20:26:57 +0200 Subject: [PATCH] add comment Signed-off-by: jsvisa --- eth/filters/filter_system_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eth/filters/filter_system_test.go b/eth/filters/filter_system_test.go index e3bc7fca97..4c759570fc 100644 --- a/eth/filters/filter_system_test.go +++ b/eth/filters/filter_system_test.go @@ -881,7 +881,9 @@ func TestLogsSubscription(t *testing.T) { }() } - // Wait for historical logs to be processed + // Wait for historical logs to be processed. + // The reason we need to wait is this test is artificial + // and no new block containing the logs is mined. time.Sleep(1 * time.Second) // Send live logs backend.logsFeed.Send(liveLogs)