Skip to content

Commit 94c37c6

Browse files
committed
Fix silent merge conflict between bcd65be and 940d7ac
1 parent 0133739 commit 94c37c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/functional_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ fn test_fee_spike_violation_fails_htlc() {
15661566
macro_rules! get_route_and_payment_hash {
15671567
($recv_value: expr) => {{
15681568
let (payment_preimage, payment_hash) = get_payment_preimage_hash!(nodes[1]);
1569-
let net_graph_msg_handler = &nodes[0].net_graph_msg_handler;
1569+
let net_graph_msg_handler = &nodes[0].net_graph_msg_handler.network_graph.read().unwrap();
15701570
let route = get_route(&nodes[0].node.get_our_node_id(), net_graph_msg_handler, &nodes.last().unwrap().node.get_our_node_id(), None, &Vec::new(), $recv_value, TEST_FINAL_CLTV, &logger).unwrap();
15711571
(route, payment_hash, payment_preimage)
15721572
}}

0 commit comments

Comments
 (0)