Skip to content

Commit 1f246df

Browse files
committed
Fix 'unreachable' warning during tests.
1 parent 08ab658 commit 1f246df

File tree

1 file changed

+1
-0
lines changed
  • lightning-rapid-gossip-sync/src

1 file changed

+1
-0
lines changed

lightning-rapid-gossip-sync/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ mod tests {
197197
println!("{}", error_string);
198198
return;
199199
}
200+
#[cfg(require_route_graph_test)]
200201
panic!("{}", error_string);
201202
}
202203
let elapsed = start.elapsed();

0 commit comments

Comments
 (0)