diff --git a/client/core/context.go b/client/core/context.go index 3d7f400a8..77d2dc549 100644 --- a/client/core/context.go +++ b/client/core/context.go @@ -31,6 +31,7 @@ func (c CoreContext) WithTrustNode(trustNode bool) CoreContext { func (c CoreContext) WithNodeURI(nodeURI string) CoreContext { c.NodeURI = nodeURI + c.Client = rpcclient.NewHTTP(nodeURI, "/websocket") return c }