add comment

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
Sina Mahmoodi 2023-07-04 20:26:57 +02:00 committed by jsvisa
parent 1589685a59
commit 8b65f9143c

View file

@ -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) time.Sleep(1 * time.Second)
// Send live logs // Send live logs
backend.logsFeed.Send(liveLogs) backend.logsFeed.Send(liveLogs)