aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/shhclient/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'whisper/shhclient/client.go')
-rw-r--r--whisper/shhclient/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/shhclient/client.go b/whisper/shhclient/client.go
index 921115d00..6b46f415d 100644
--- a/whisper/shhclient/client.go
+++ b/whisper/shhclient/client.go
@@ -167,7 +167,7 @@ func (sc *Client) Post(ctx context.Context, message whisper.NewMessage) (string,
// SubscribeMessages subscribes to messages that match the given criteria. This method
// is only supported on bi-directional connections such as websockets and IPC.
// NewMessageFilter uses polling and is supported over HTTP.
-func (sc *Client) SubscribeMessages(ctx context.Context, criteria whisper.Criteria, ch chan<- *whisper.Message) (ethereum.Subscription, error) {
+func (sc *Client) SubscribeMessages(ctx context.Context, criteria whisper.Criteria, ch chan<- *whisper.Message) (dexon.Subscription, error) {
return sc.c.ShhSubscribe(ctx, ch, "messages", criteria)
}