Forgot to bump the version
This commit is contained in:
parent
156495732b
commit
a50b4f6b11
2
peer.go
2
peer.go
|
@ -457,7 +457,7 @@ func (p *Peer) pushPeers() {
|
||||||
func (p *Peer) handleHandshake(msg *ethwire.Msg) {
|
func (p *Peer) handleHandshake(msg *ethwire.Msg) {
|
||||||
c := msg.Data
|
c := msg.Data
|
||||||
|
|
||||||
if c.Get(0).AsUint() != 2 {
|
if c.Get(0).AsUint() != 3 {
|
||||||
log.Println("Invalid peer version. Require protocol v 2")
|
log.Println("Invalid peer version. Require protocol v 2")
|
||||||
p.Stop()
|
p.Stop()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue