Skip to content

Commit

Permalink
fix the test after rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinczenko committed Nov 28, 2024
1 parent c0cc437 commit 5c93971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testmodule/providers/jsonrpc/testJsonRpcSubscriptions.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5c93971

Please sign in to comment.