Skip to content

Commit 78023d6

Browse files
committed
Remove excess mut warned on in 1.22
1 parent da01479 commit 78023d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ln/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ impl Router {
433433
($directional_info.fee_base_msat as u64).checked_add(part / 1000000) })
434434
{
435435
let mut total_fee = $starting_fee_msat as u64;
436-
let mut hm_entry = dist.entry(&$directional_info.src_node_id);
436+
let hm_entry = dist.entry(&$directional_info.src_node_id);
437437
let old_entry = hm_entry.or_insert_with(|| {
438438
let node = network.nodes.get(&$directional_info.src_node_id).unwrap();
439439
(u64::max_value(),

0 commit comments

Comments
 (0)