mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-18 08:51:08 +02:00
If the tower returns CreateSessionCodeAlreadyExists in response to the CreateSession message from the client, then skip forward a few key indices until we find one that the server does not return the error for. This will allow a client to recover after a data loss incident.