Skip to content

Commit 4d196c7

Browse files
committed
Solved third issue
1 parent 923ece5 commit 4d196c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/offers_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,9 +2459,9 @@ fn rejects_keysend_to_non_static_invoice_path() {
24592459
.expect_failure(HTLCHandlingFailureType::Receive { payment_hash });
24602460
do_pass_along_path(args);
24612461
let mut updates = get_htlc_update_msgs(&nodes[1], &nodes[0].node.get_our_node_id());
2462-
nodes[0].node.handle_update_fail_htlc(nodes[1].node.get_our_node_id(), &updates.update_fail_htlcs[0]);
2462+
nodes[0].node.handle_update_fail_malformed_htlc(nodes[1].node.get_our_node_id(), &updates.update_fail_malformed_htlcs[0]);
24632463
do_commitment_signed_dance(&nodes[0], &nodes[1], &updates.commitment_signed, false, false);
2464-
expect_payment_failed_conditions(&nodes[0], payment_hash, true, PaymentFailedConditions::new());
2464+
expect_payment_failed_conditions(&nodes[0], payment_hash, false, PaymentFailedConditions::new());
24652465
}
24662466

24672467
#[test]

0 commit comments

Comments
 (0)