Explorar o código

swarm/network: bump bzz protocol version (#17449)

Anton Evangelatov %!s(int64=7) %!d(string=hai) anos
pai
achega
c582667c9b
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      swarm/network/protocol.go
  2. 1 1
      swarm/network/protocol_test.go

+ 1 - 1
swarm/network/protocol.go

@@ -44,7 +44,7 @@ const (
 // BzzSpec is the spec of the generic swarm handshake
 var BzzSpec = &protocols.Spec{
 	Name:       "bzz",
-	Version:    5,
+	Version:    6,
 	MaxMsgSize: 10 * 1024 * 1024,
 	Messages: []interface{}{
 		HandshakeMsg{},

+ 1 - 1
swarm/network/protocol_test.go

@@ -31,7 +31,7 @@ import (
 )
 
 const (
-	TestProtocolVersion   = 5
+	TestProtocolVersion   = 6
 	TestProtocolNetworkID = 3
 )