Forgot to bump the version

This commit is contained in:
obscuren 2014-02-10 01:15:14 +01:00
parent 156495732b
commit a50b4f6b11

View File

@ -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