mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
kvdb+watchtower: fix unreachable code
This commit is contained in:
@@ -333,9 +333,6 @@ tryNextCandidate:
|
||||
|
||||
goto retryWithBackoff
|
||||
}
|
||||
|
||||
// Success.
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
@@ -393,8 +390,6 @@ func (n *sessionNegotiator) createSession(tower *Tower, keyIndex uint32) error {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
return ErrFailedNegotiation
|
||||
}
|
||||
|
||||
// tryAddress executes a single create session dance using the given address.
|
||||
|
Reference in New Issue
Block a user