From 76b7ffd3886e6236917a6fbca92246bfd96e3e1c Mon Sep 17 00:00:00 2001 From: Sir Darkrengarius Date: Sun, 17 Nov 2019 20:48:00 +0300 Subject: [PATCH] Finally fix the dmsg RPC issue --- pkg/router/routerclient/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/router/routerclient/client.go b/pkg/router/routerclient/client.go index 4abbef3f44..2fdc39b49d 100644 --- a/pkg/router/routerclient/client.go +++ b/pkg/router/routerclient/client.go @@ -29,7 +29,7 @@ func NewClient(ctx context.Context, dmsgC *dmsg.Client, pk cipher.PubKey) (*Clie fmt.Printf("Dialed to %s\n", pk) // TODO: remove debug logging client := &Client{ - rpc: rpc.NewClient(s.Conn), + rpc: rpc.NewClient(s), } return client, nil }