Skip to content

Commit 8eb7161

Browse files
committed
f fix build on rebase
1 parent ed763e7 commit 8eb7161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ pub fn get_route<L: Deref>(our_node_id: &PublicKey, network: &NetworkGraph, paye
961961
// Step (8).
962962
// Select the best route by lowest total fee.
963963
drawn_routes.sort_by_key(|paths| paths.iter().map(|path| path.get_total_fee_paid_msat()).sum::<u64>());
964-
let mut selected_paths = vec![];
964+
let mut selected_paths = Vec::<Vec<RouteHop>>::new();
965965
for payment_path in drawn_routes.first().unwrap() {
966966
selected_paths.push(payment_path.hops.iter().map(|payment_hop| payment_hop.route_hop.clone()).collect());
967967
}

0 commit comments

Comments
 (0)