mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-21 14:04:10 +01:00
For single-funded channels where we are the funder, we previously only waited for 1 confirmation before marking the funding transaction as confirmed. This is fine because we trust ourselves to not double-spend our own channels. However, in #2969, we started assigning the `short_channel_id` when we consider the funding transaction confirmed, and not after 6 blocks. We thus now risk creating a `short_channel_id` after only 1 confirmation, which is too early in case a reorg happens. This wouldn't cause loss of funds because we would create invalid `channel_update`s and the channel would likely not be usable. |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |