From ef172a857a5c1493aa17039a8c47fb6ae2e9927d Mon Sep 17 00:00:00 2001 From: coffeepots Date: Wed, 5 Dec 2018 15:58:24 +0000 Subject: [PATCH] Update new filter signature --- nimbus/rpc/whisper.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimbus/rpc/whisper.nim b/nimbus/rpc/whisper.nim index dcb5abc2e..fd2a3d709 100644 --- a/nimbus/rpc/whisper.nim +++ b/nimbus/rpc/whisper.nim @@ -38,7 +38,7 @@ proc setupWhisperRPC*(rpcsrv: RpcServer) = ## Returns true if the identity was successfully added to the group, otherwise false (?). discard - rpcsrv.rpc("shh_newFilter") do(filterOptions: FilterOptions, to: WhisperIdentityStr, topics: seq[HexDataStr]) -> int: + rpcsrv.rpc("shh_newFilter") do(filterOptions: WhisperFilterOptions) -> int: ## Creates filter to notify, when client receives whisper message matching the filter options. ## ## filterOptions: The filter options: