]> git.bitcoin.ninja Git - rust-lightning/commit
Clean up HTLC intercept errors
authorValentine Wallace <vwallace@protonmail.com>
Thu, 1 Dec 2022 05:12:29 +0000 (00:12 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 1 Dec 2022 05:12:32 +0000 (00:12 -0500)
commit6791d2c30725832214ed374197cd1c328fd954db
treeba58dd6d7f321041f40fbf23939323586f9fbafe
parentfb6e018eb8fc6598da0b9f36ce7aa458f4df6a0c
Clean up HTLC intercept errors

ChannelUnavailable is a better fit for errors regarding unavailable channels
than APIMisuseError.

Also log bytes in errors as hex instead of decimal.
lightning/src/ln/channelmanager.rs
lightning/src/ln/payment_tests.rs