Commit graph

3 commits

Author SHA1 Message Date
Matt Corallo
230c72bd4c Add documentation for all PRs slated to land for 0.0.99 2021-07-09 16:34:46 +00:00
Matt Corallo
dec7ec191e Fix bogus Event::PaymentSent serialization
`Event::PaymentSent` serialization has a bug where we
double-serialize the payment_preimage field but do not attempt to
read it twice. This results in a failure to read `ChannelManager`s
from disk if we have a pending `Event::PaymentSent` pending
awaiting handling when we serialize.

Instead of attempting to read both versions, we opt to simply fix
the serialization, assuming it is exceedingly rare for such a
scenario to appear (and if it does, we can assist in manual
recovery).

The release notes have been updated to note this inconsistency.

Found by the chanmon_consistency fuzz target.
2021-06-28 23:38:09 +00:00
Matt Corallo
66726fb508 Add a dummy first CHANGELOG entry for future tracking 2021-06-23 16:43:18 +00:00