Clarify update_fail/fulfill_htlc holding cell allowed Errs
authorMatt Corallo <git@bluematt.me>
Tue, 11 Sep 2018 18:27:17 +0000 (14:27 -0400)
committerMatt Corallo <git@bluematt.me>
Sat, 15 Sep 2018 14:53:16 +0000 (10:53 -0400)
commit4bcf00e5b89d23b175796b1ffb5698b6bc17868c
treea0ab3e3c8239a7d3a09d8c9e3537460caa91e24a
parent5fe598c073cbaa2b45e44ca5e671ee6fab2719fe
Clarify update_fail/fulfill_htlc holding cell allowed Errs

Specifically, there really should be no Errs, but in case there is
some case where duplicate HTLC removes are possible, return
IgnoreError and debug_assert to see if fuzzing can find them.
src/ln/channel.rs