mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
add comment
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
1589685a59
commit
8b65f9143c
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue