You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ln+events: deprecate UnknownNextPeer in HTLCHandlingFailureType
This variant of HTLCHandlingFailureType contains information about the
failure cause along with its type - as an UnknownNextPeer is just an
InvalidForward that has the failure type UnknownNextPeer.
Use of the variant is deprecated, and any old events are upgraded to
the new representation. As a result, downgrading nodes will get an
InvalidForward where they otherwise would have had an UnknownNextPeer.
The alternative would be to continue to write the old representation
to prevent this information loss on downgrade, but it comes at the cost
of not being able to remove the UnknownNextPeer variant in future (and
some extra handling code).
The deprecated attribute is not used because it cannot be silenced in
impl_writeable_tlv_based_enum, which uses UnknownNextPeer to remain
downgradable.
0 commit comments