Rename APIError::RouteError to ::InvalidRoute
authorValentine Wallace <vwallace@protonmail.com>
Thu, 1 Dec 2022 06:08:55 +0000 (01:08 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 1 Dec 2022 06:08:57 +0000 (01:08 -0500)
commite0820aee432c49ac88646bbcc17dbbedb6d26298
tree320cb14f826fcce426ae535280ee91146eb86951
parent7203c8328aa5431ff5f8406db2208567032e9af1
Rename APIError::RouteError to ::InvalidRoute

Soon we're going to need to return an error when ChannelManager is unable to
find a route, so we'll need a way to distinguish between that and the user
supplying an invalid route.
fuzz/src/chanmon_consistency.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_utils.rs
lightning/src/util/errors.rs