]> git.bitcoin.ninja Git - rust-lightning/commit
Fix InvalidRoute error to be ChannelUnavailable
authorValentine Wallace <vwallace@protonmail.com>
Wed, 22 Feb 2023 19:09:58 +0000 (14:09 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 23 Feb 2023 04:05:43 +0000 (23:05 -0500)
commit5e4f0bcff0cea5e4c0652c2ef3c86ddc19585e21
tree5a154a480c21498b736da6e88b119f356fe635a3
parent9f41bd7f6492ca146a852c779f072d5b87581fed
Fix InvalidRoute error to be ChannelUnavailable

InvalidRoute is reserved for malformed routes, not routes where a channel or
its peer is unavailable
lightning/src/ln/channelmanager.rs