From 675a9441784b14ee4bd996832c4431adc291c5af Mon Sep 17 00:00:00 2001 From: Jhih-Ming Huang Date: Wed, 10 Apr 2019 22:29:35 +0800 Subject: fixup! Change import go github.com/dexon-foundation/dexon --- whisper/shhclient/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'whisper') 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) } -- cgit v1.2.3