Skip to content

Commit 4c33197

Browse files
authored
Merge pull request #543 from TheBlueMatt/2020-03-513-warning
Add missing unwrap() in tests introduced in 4abfd51
2 parents d6b1825 + cd3748c commit 4c33197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/functional_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5543,7 +5543,7 @@ fn test_update_add_htlc_bolt2_receiver_zero_value_msat() {
55435543
let route = nodes[0].router.get_route(&nodes[1].node.get_our_node_id(), None, &[], 100000, TEST_FINAL_CLTV).unwrap();
55445544
let (_, our_payment_hash) = get_payment_preimage_hash!(nodes[0]);
55455545

5546-
nodes[0].node.send_payment(route, our_payment_hash);
5546+
nodes[0].node.send_payment(route, our_payment_hash).unwrap();
55475547
check_added_monitors!(nodes[0], 1);
55485548
let mut updates = get_htlc_update_msgs!(nodes[0], nodes[1].node.get_our_node_id());
55495549
updates.update_add_htlcs[0].amount_msat = 0;

0 commit comments

Comments
 (0)