From 56220ca91e0860fce7fb59bea814257362d7799a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Fri, 17 Aug 2018 13:07:51 +0300 Subject: [PATCH] les: fix commons protocol maker --- les/commons.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/les/commons.go b/les/commons.go index 56de666562..251b7a5833 100644 --- a/les/commons.go +++ b/les/commons.go @@ -51,7 +51,7 @@ type NodeInfo struct { // makeProtocols creates protocol descriptors for the given LES versions. func (c *lesCommons) makeProtocols(versions []uint) []p2p.Protocol { - protos := make([]p2p.Protocol, len(ClientProtocolVersions)) + protos := make([]p2p.Protocol, len(versions)) for i, version := range versions { version := version protos[i] = p2p.Protocol{