rust-lightning/lightning
Matt Corallo 7bc2a148b2 Fix handling of duplicate initial ChannelMonitor writing
In e06484b0f4, we added specific
handling for outbound-channel initial monitor updates failing -
in such a case we have a counterparty who tried to open a second
channel with the same funding info we just gave them, causing us
to force-close our outbound channel as it shows up as
duplicate-funding. Its largely harmless as it leads to a spurious
force-closure of a channel with a peer doing something absurd,
however it causes the `full_stack_target` fuzzer to fail.

Sadly, in 574c77e7bc, as we were
dropping handling of `PermanentFailure` handling for updates, we
accidentally dropped handling for initial updates as well.

Here we fix the issue (again) and add a test.
2023-12-29 06:27:31 +00:00
..
src Fix handling of duplicate initial ChannelMonitor writing 2023-12-29 06:27:31 +00:00
Cargo.toml Bump versions to 0.0.119/lightning-invoice 0.27 2023-12-15 23:53:40 +00:00