Don't reset timer when forgetting an address
This commit is contained in:
1 parent
dc8e82ea31
commit
3417608209
1 file changed
+1
-1
@@ -55,7 +55,7 @@ func (cm *ConnectionMaker) InitiateConnection(address string) {
|
|||||||
func (cm *ConnectionMaker) ForgetConnection(address string) {
|
func (cm *ConnectionMaker) ForgetConnection(address string) {
|
||||||
cm.actionChan <- func() bool {
|
cm.actionChan <- func() bool {
|
||||||
delete(cm.cmdLineAddress, NormalisePeerAddr(address))
|
delete(cm.cmdLineAddress, NormalisePeerAddr(address))
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user