mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-24 14:50:46 +01:00
Instead of only subscribing to those events when we reach certain states, we now always subscribe to them at startup. It doesn't cost a lot because we receive an event only when a new block appears, and is much simpler. Note that we previously didn't even bother unsubscribing when we weren't interested anymore in the events, and were ignoring the messages in the `whenUnhandled` block. So it is more consistent to have the same behavior during the whole lifetime of the channel. This fixes #187. |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |