Skip to content

Commit e354dc2

Browse files
committed
Fix uneccessary mut found by 1.22
1 parent 1de117e commit e354dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ln/functional_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4806,7 +4806,7 @@ fn test_update_add_htlc_bolt2_sender_exceed_max_htlc_num_and_htlc_id_increment()
48064806
for i in 0..max_accepted_htlcs {
48074807
let route = nodes[0].router.get_route(&nodes[1].node.get_our_node_id(), None, &[], 100000, TEST_FINAL_CLTV).unwrap();
48084808
let (_, our_payment_hash) = get_payment_preimage_hash!(nodes[0]);
4809-
let mut payment_event = {
4809+
let payment_event = {
48104810
nodes[0].node.send_payment(route, our_payment_hash).unwrap();
48114811
check_added_monitors!(nodes[0], 1);
48124812

0 commit comments

Comments
 (0)