fix subscription name
This commit is contained in:
parent
5eb8cea6e7
commit
1be3e5ec5e
@ -132,9 +132,9 @@ build_rpc_trait! {
|
|||||||
pub trait WhisperPubSub {
|
pub trait WhisperPubSub {
|
||||||
type Metadata;
|
type Metadata;
|
||||||
|
|
||||||
#[pubsub(name = "hello")] {
|
#[pubsub(name = "shh_subscription")] {
|
||||||
/// Subscribe to messages matching the filter.
|
/// 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);
|
fn subscribe(&self, Self::Metadata, pubsub::Subscriber<types::FilterItem>, types::FilterRequest);
|
||||||
|
|
||||||
/// Unsubscribe from filter matching given ID. Return
|
/// Unsubscribe from filter matching given ID. Return
|
||||||
|
Loading…
Reference in New Issue
Block a user