aboutsummaryrefslogtreecommitdiffstats
path: root/les/ulc.go
diff options
context:
space:
mode:
Diffstat (limited to 'les/ulc.go')
-rw-r--r--les/ulc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/les/ulc.go b/les/ulc.go
index c6d415552..8792f60d3 100644
--- a/les/ulc.go
+++ b/les/ulc.go
@@ -34,7 +34,7 @@ func newULC(ulcConfig *eth.ULCConfig) *ulc {
}
m := make(map[string]struct{}, len(ulcConfig.TrustedServers))
for _, id := range ulcConfig.TrustedServers {
- node, err := enode.ParseV4(id)
+ node, err := enode.Parse(enode.ValidSchemes, id)
if err != nil {
log.Debug("Failed to parse trusted server", "id", id, "err", err)
continue