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