Skip to content

Commit 4c5526b

Browse files
committed
Removing Commented code .
1 parent 7919dbf commit 4c5526b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lightning/src/routing/router.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -907,10 +907,6 @@ pub fn get_route<L: Deref>(our_node_id: &PublicKey, network: &NetworkGraph, paye
907907
fees: hop.fees,
908908
};
909909

910-
// let reqd_channel_cap = Some(final_value_msat.checked_add(match idx {
911-
// 0 => 999,
912-
// _ => aggregate_next_hops_fee_msat.checked_add(999).unwrap_or(u64::max_value())
913-
// }).unwrap_or(u64::max_value()) / 1000); // converting from msat
914910
let reqd_channel_cap = if let Some (val) = final_value_msat.checked_add(match idx {
915911
0 => 999,
916912
_ => aggregate_next_hops_fee_msat.checked_add(999).unwrap_or(u64::max_value())

0 commit comments

Comments
 (0)