diff options
author | Jhih-Ming Huang <jm@dexon.org> | 2019-04-10 22:29:35 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-10 22:29:35 +0800 |
commit | 675a9441784b14ee4bd996832c4431adc291c5af (patch) | |
tree | 58d76052f28fd5808605f592a52f297f862f9ef7 /whisper | |
parent | b102e88097d7555b776e95565355ab3dacced1f9 (diff) | |
download | dexon-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.go | 2 |
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) } |