Skip to content

Commit b5c40c2

Browse files
f add unreachable in fuzz
1 parent cd60d98 commit b5c40c2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

fuzz/src/chanmon_consistency.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,7 @@ impl Router for FuzzRouter {
119119
&self, _payer: &PublicKey, _params: &RouteParameters,
120120
_first_hops: Option<&[&ChannelDetails]>, _inflight_htlcs: InFlightHtlcs,
121121
) -> Result<Route, msgs::LightningError> {
122-
Err(msgs::LightningError {
123-
err: String::from("Not implemented"),
124-
action: msgs::ErrorAction::IgnoreError,
125-
})
122+
unreachable!()
126123
}
127124

128125
fn create_blinded_payment_paths<T: secp256k1::Signing + secp256k1::Verification>(

0 commit comments

Comments
 (0)