mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-02 13:43:06 +00:00
Use seconds instead of milliseconds
This commit is contained in:
parent
64f3d0d5f1
commit
9c8097db3c
@ -30,7 +30,8 @@ suite "Websocket re-subscriptions":
|
||||
|
||||
let subscription = await subscriptions.subscribeLogs(filter, emptyHandler)
|
||||
|
||||
await sleepAsync(3000.int64.milliseconds)
|
||||
# Wait until the re-subscription starts
|
||||
await sleepAsync(3.int64.seconds)
|
||||
|
||||
try:
|
||||
await subscriptions.unsubscribe(subscription)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user