]> git.bitcoin.ninja Git - rust-lightning/commit
Include `height` to `incorrect_or_unknown_payment_details` failure
authorFranck Royer <franck@royer.one>
Sun, 19 Apr 2020 12:14:14 +0000 (22:14 +1000)
committerFranck Royer <franck@royer.one>
Sun, 19 Apr 2020 22:30:45 +0000 (08:30 +1000)
commitfae46a02e38a1d77b7d575bae4d88dca63beda8b
tree46f13b77d1da262f8114201210ffc76a7d55602f
parentb9db2ec687b8c570ad9b8e938049c5b330433b68
Include `height` to `incorrect_or_unknown_payment_details` failure

`incorrect_or_unknown_payment_details` failure message,
`0x4000 (PERM) | 15`, should include the following data:
- [u64:htlc_msat]
- [u32:height]
This patches ensure that the height is included in all
the occurrences of this failure message.
lightning/src/ln/channelmanager.rs