aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/utils/client.go')
-rw-r--r--cmd/utils/client.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/utils/client.go b/cmd/utils/client.go
index 1144af6f6..3913d007b 100644
--- a/cmd/utils/client.go
+++ b/cmd/utils/client.go
@@ -51,6 +51,5 @@ func NewRemoteRPCClientFromString(endpoint string) (rpc.Client, error) {
if strings.HasPrefix(endpoint, "ws:") {
return rpc.NewWSClient(endpoint)
}
-
return nil, fmt.Errorf("invalid endpoint")
}