From 0b644a2b542d9edc5eb288e6a284ad9245f82bf8 Mon Sep 17 00:00:00 2001
From: Ethan Buchman <ethan@coinculture.info>
Date: Wed, 24 Feb 2016 16:08:22 +0000
Subject: [PATCH] dont check ip ranges

---
 .../src/github.com/tendermint/tendermint/p2p/peer_set.go      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p/peer_set.go b/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p/peer_set.go
index 5a2c4498..337e3c32 100644
--- a/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p/peer_set.go
+++ b/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p/peer_set.go
@@ -54,9 +54,9 @@ func (ps *PeerSet) Add(peer *Peer) error {
 
 	// ensure we havent maxed out connections for the peer's IP range yet
 	// and update the IP range counters
-	if !ps.incrIPRangeCounts(peer.Host) {
+	/*if !ps.incrIPRangeCounts(peer.Host) {
 		return ErrSwitchMaxPeersPerIPRange
-	}
+	}*/
 
 	index := len(ps.list)
 	// Appending is safe even with other goroutines
-- 
GitLab