mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
eth/68: fixed the protocol length
This commit is contained in:
parent
77dc1acafa
commit
886d8f74ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue