From deda6db1e16a6a1ebbd97c734bd1687949dabce7 Mon Sep 17 00:00:00 2001 From: Ethan Buchman <ethan@coinculture.info> Date: Wed, 24 Feb 2016 15:48:54 +0000 Subject: [PATCH] make all addrs routable --- .../src/github.com/tendermint/tendermint/p2p/netaddress.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p/netaddress.go b/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p/netaddress.go index 983cda62..3558aa2e 100644 --- a/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p/netaddress.go +++ b/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p/netaddress.go @@ -110,6 +110,8 @@ func (na *NetAddress) DialTimeout(timeout time.Duration) (net.Conn, error) { } func (na *NetAddress) Routable() bool { + return true + if config.GetBool("local_routing") { return na.Valid() } -- GitLab