summaryrefslogtreecommitdiff
path: root/service/rpc/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/rpc/config.go')
-rw-r--r--service/rpc/config.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/service/rpc/config.go b/service/rpc/config.go
index c37b0853..93fce7ca 100644
--- a/service/rpc/config.go
+++ b/service/rpc/config.go
@@ -32,10 +32,6 @@ func (c *Config) Valid() error {
return errors.New("invalid socket DSN (tcp://:6001, unix://rpc.sock)")
}
- if dsn := strings.Split(c.Listen, "://"); len(dsn) != 2 {
- return errors.New("invalid socket DSN (tcp://:6001, unix://rpc.sock)")
- }
-
return nil
}