eth/68: fixed the protocol length

This commit is contained in:
Pratik Patil 2025-04-04 17:13:32 -04:00
parent 77dc1acafa
commit 886d8f74ef
No known key found for this signature in database
GPG key ID: AFDCA496554874B3

View file

@ -43,7 +43,7 @@ var ProtocolVersions = []uint{ETH68}
// protocolLengths are the number of implemented message corresponding to
// different protocol versions.
var protocolLengths = map[uint]uint64{ETH68: 17}
var protocolLengths = map[uint]uint64{ETH68: 13}
// maxMessageSize is the maximum cap on the size of a protocol message.
const maxMessageSize = 10 * 1024 * 1024