Skip to content

Commit

Permalink
Fix uneccessary mut found by 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Feb 11, 2019
1 parent 1de117e commit e354dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ln/functional_tests.rs
Expand Up @@ -4806,7 +4806,7 @@ fn test_update_add_htlc_bolt2_sender_exceed_max_htlc_num_and_htlc_id_increment()
for i in 0..max_accepted_htlcs {
let route = nodes[0].router.get_route(&nodes[1].node.get_our_node_id(), None, &[], 100000, TEST_FINAL_CLTV).unwrap();
let (_, our_payment_hash) = get_payment_preimage_hash!(nodes[0]);
let mut payment_event = {
let payment_event = {
nodes[0].node.send_payment(route, our_payment_hash).unwrap();
check_added_monitors!(nodes[0], 1);

Expand Down

0 comments on commit e354dc2

Please sign in to comment.