Merge pull request #1893 from valentinewallace/2022-12-jit-forwards-followup
[rust-lightning] / fuzz / src / chanmon_consistency.rs
index 783bbc06aa9fe58e4de90e5ce13650aeb0458b9d..6c1d4348dc1ff97e36263d104117ee732ea2884f 100644 (file)
@@ -253,7 +253,7 @@ fn check_api_err(api_err: APIError) {
        match api_err {
                APIError::APIMisuseError { .. } => panic!("We can't misuse the API"),
                APIError::FeeRateTooHigh { .. } => panic!("We can't send too much fee?"),
-               APIError::RouteError { .. } => panic!("Our routes should work"),
+               APIError::InvalidRoute { .. } => panic!("Our routes should work"),
                APIError::ChannelUnavailable { err } => {
                        // Test the error against a list of errors we can hit, and reject
                        // all others. If you hit this panic, the list of acceptable errors