command-line addresses are already normalised so don't need to do it again
This commit is contained in:
1 parent
1b3122b37b
commit
661b3f4da1
1 file changed
+1
-1
+1
-1
@@ -104,7 +104,7 @@ func (cm *ConnectionMaker) checkStateAndAttemptConnections(now time.Time) {
|
|||||||
|
|
||||||
// Add command-line targets that are not connected
|
// Add command-line targets that are not connected
|
||||||
for address, _ := range cm.cmdLineAddress {
|
for address, _ := range cm.cmdLineAddress {
|
||||||
if !our_connected_targets[NormalisePeerAddr(address)] {
|
if !our_connected_targets[address] {
|
||||||
validTarget[address] = true
|
validTarget[address] = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user