From 1be3e5ec5e12b76c7ddff004b5dbe9baf8267591 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Thu, 27 Jul 2017 12:38:22 +0200 Subject: [PATCH] fix subscription name --- whisper/src/rpc/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/whisper/src/rpc/mod.rs b/whisper/src/rpc/mod.rs index 31fe997d5..6cec20c69 100644 --- a/whisper/src/rpc/mod.rs +++ b/whisper/src/rpc/mod.rs @@ -132,9 +132,9 @@ build_rpc_trait! { pub trait WhisperPubSub { type Metadata; - #[pubsub(name = "hello")] { + #[pubsub(name = "shh_subscription")] { /// Subscribe to messages matching the filter. - #[rpc(name = "ssh_subscribe")] + #[rpc(name = "shh_subscribe")] fn subscribe(&self, Self::Metadata, pubsub::Subscriber, types::FilterRequest); /// Unsubscribe from filter matching given ID. Return