Skip to content

Commit 8c5ca95

Browse files
committed
Fix build warnings
1 parent 9c50083 commit 8c5ca95

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ pub mod bench {
271271
println!("{}", error_string);
272272
return;
273273
}
274+
#[cfg(require_route_graph_test)]
274275
panic!("{}", error_string);
275276
}
276277
assert!(sync_result.is_ok())

lightning/src/routing/network_graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2385,7 +2385,7 @@ mod tests {
23852385

23862386
#[test]
23872387
fn network_graph_tlv_serialization() {
2388-
let mut network_graph = create_network_graph();
2388+
let network_graph = create_network_graph();
23892389
network_graph.set_last_rapid_gossip_sync_timestamp(42);
23902390

23912391
let mut w = test_utils::TestVecWriter(Vec::new());

0 commit comments

Comments
 (0)