Skip to content

cmd/devp2p/internal/ethtest/protocol.go

Type MOD
Upstream Lines 88
Changed +1 -1

ethProtoLen 18→17 (ETH/68 has 17 messages, 0x00–0x10)

diff --git a/cmd/devp2p/internal/ethtest/protocol.go b/cmd/devp2p/internal/ethtest/protocol.go
index a21d1ca7a..3304dc3f3 100644
--- a/cmd/devp2p/internal/ethtest/protocol.go
+++ b/cmd/devp2p/internal/ethtest/protocol.go
@@ -32,7 +32,7 @@ const (
 // Unexported devp2p protocol lengths from p2p package.
 const (
    baseProtoLen = 16
-   ethProtoLen  = 18
+   ethProtoLen  = 17 // ETH/68 has 17 messages (0x00-0x10)
    snapProtoLen = 8
 )

← Back to eth Protocol