fix subscription name

This commit is contained in:
Robert Habermeier 2017-07-27 12:38:22 +02:00
parent 5eb8cea6e7
commit 1be3e5ec5e
1 changed files with 2 additions and 2 deletions

View File

@ -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::FilterItem>, types::FilterRequest);
/// Unsubscribe from filter matching given ID. Return