mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-24 06:47:46 +01:00
We previously skipped the `handleSync` function when we had to re-send `funding_locked` messages on reconnection. This didn't take into account the fact that we might have been disconnected right after sending the very first `commit_sig` in the channel. In that case we need to first re-send `funding_locked`, then re-send whatever updates were included in the lost signature, and finally re-send the same `commit_sig`. Note that the specification doesn't require to re-send the exact same updates and signatures on reconnection. But doing this allows for a single commitment history and allows us not to keep track of all signatures sent to the other party. Closes #165 |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |