From 661b3f4da1be5c4888560d5e608d28d5377aa4ea Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Wed, 10 Sep 2014 17:40:39 +0100 Subject: [PATCH] command-line addresses are already normalised so don't need to do it again --- connection_maker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connection_maker.go b/connection_maker.go index 89522357..2da3bd70 100644 --- a/connection_maker.go +++ b/connection_maker.go @@ -104,7 +104,7 @@ func (cm *ConnectionMaker) checkStateAndAttemptConnections(now time.Time) { // Add command-line targets that are not connected for address, _ := range cm.cmdLineAddress { - if !our_connected_targets[NormalisePeerAddr(address)] { + if !our_connected_targets[address] { validTarget[address] = true } }