fix the test after rebasing

This commit is contained in:
Marcin Czenko 2024-11-28 15:50:39 +01:00
parent c0cc437aa2
commit 5c93971f97

View File

@ -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)