aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-10 08:15:14 +0800
committerobscuren <geffobscura@gmail.com>2014-02-10 08:15:14 +0800
commita50b4f6b11d9299366a8026588cddae65fdbd085 (patch)
tree2ca6387a1e2fcfe113d5c747ccbe97a1a4aa4577
parent156495732ba2864feaf6725e770c07bd1c23a660 (diff)
downloaddexon-a50b4f6b11d9299366a8026588cddae65fdbd085.tar
dexon-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.gz
dexon-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.bz2
dexon-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.lz
dexon-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.xz
dexon-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.zst
dexon-a50b4f6b11d9299366a8026588cddae65fdbd085.zip
Forgot to bump the version
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index 8d5a96d25..9848095ca 100644
--- a/peer.go
+++ b/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