aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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