command-line addresses are already normalised so don't need to do it again

This commit is contained in:
Bryan Boreham committed 2014-09-10 17:40:39 +01:00
1 parent 1b3122b37b
commit 661b3f4da1
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
}