Fix HTLC-output-in-commitment sorting for duplicate-HTLCs
authorMatt Corallo <git@bluematt.me>
Thu, 7 Mar 2019 18:02:23 +0000 (13:02 -0500)
committerMatt Corallo <git@bluematt.me>
Thu, 7 Mar 2019 18:56:01 +0000 (13:56 -0500)
commitd990f72f9a4cf4bc6f7f32f8b3dc9dd616c5bd33
tree2c39c86a8371a04155e7328d3665e63e1f9eb9f9
parent35853a607d53b8987ebe4d4c7b7119fc188e1e32
Fix HTLC-output-in-commitment sorting for duplicate-HTLCs

This resolves both an issue that hits fuzzing due to hash
collisions as well as implements an update to the BOLT spec.
src/ln/channel.rs
src/util/transaction_utils.rs