mirror of
https://github.com/status-im/nim-ethers.git
synced 2025-01-12 16:44:23 +00:00
fix the test after rebasing
This commit is contained in:
parent
c0cc437aa2
commit
5c93971f97
@ -54,7 +54,7 @@ template subscriptionTests(subscriptions, client) =
|
||||
await subscriptions.unsubscribe(newJInt(0))
|
||||
|
||||
test "duplicate unsubscribe is harmless":
|
||||
proc callback(blck: Block) = discard
|
||||
proc callback(blck: ?!Block) = discard
|
||||
let subscription = await subscriptions.subscribeBlocks(callback)
|
||||
await subscriptions.unsubscribe(subscription)
|
||||
await subscriptions.unsubscribe(subscription)
|
||||
|
Loading…
x
Reference in New Issue
Block a user