aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
authorJhih-Ming Huang <jm@dexon.org>2019-04-10 22:29:35 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-10 22:29:35 +0800
commit675a9441784b14ee4bd996832c4431adc291c5af (patch)
tree58d76052f28fd5808605f592a52f297f862f9ef7 /whisper
parentb102e88097d7555b776e95565355ab3dacced1f9 (diff)
downloaddexon-675a9441784b14ee4bd996832c4431adc291c5af.tar
dexon-675a9441784b14ee4bd996832c4431adc291c5af.tar.gz
dexon-675a9441784b14ee4bd996832c4431adc291c5af.tar.bz2
dexon-675a9441784b14ee4bd996832c4431adc291c5af.tar.lz
dexon-675a9441784b14ee4bd996832c4431adc291c5af.tar.xz
dexon-675a9441784b14ee4bd996832c4431adc291c5af.tar.zst
dexon-675a9441784b14ee4bd996832c4431adc291c5af.zip
fixup! Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'whisper')
-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)
}