aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
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 /peer.go
parent156495732ba2864feaf6725e770c07bd1c23a660 (diff)
downloadgo-tangerine-a50b4f6b11d9299366a8026588cddae65fdbd085.tar
go-tangerine-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.gz
go-tangerine-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.bz2
go-tangerine-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.lz
go-tangerine-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.xz
go-tangerine-a50b4f6b11d9299366a8026588cddae65fdbd085.tar.zst
go-tangerine-a50b4f6b11d9299366a8026588cddae65fdbd085.zip
Forgot to bump the version
Diffstat (limited to 'peer.go')
-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