mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 09:03:48 +00:00
Forgot to bump the version
This commit is contained in:
parent
156495732b
commit
a50b4f6b11
1 changed files with 1 additions and 1 deletions
2
peer.go
2
peer.go
|
|
@ -457,7 +457,7 @@ func (p *Peer) pushPeers() {
|
|||
func (p *Peer) handleHandshake(msg *ethwire.Msg) {
|
||||
c := msg.Data
|
||||
|
||||
if c.Get(0).AsUint() != 2 {
|
||||
if c.Get(0).AsUint() != 3 {
|
||||
log.Println("Invalid peer version. Require protocol v 2")
|
||||
p.Stop()
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue