Skip to content

Commit f17c5d1

Browse files
elnafatehclaude
andcommitted
Fix regression test to match upstream macro signature
The expect_payment_successful_event! macro takes a bare PaymentId, not an Option<PaymentId>. Adjust the #1033 regression test accordingly so it compiles against current upstream/main. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e0fea6e commit f17c5d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration_tests_rust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3473,7 +3473,7 @@ async fn unified_send_bolt11_duplicate_payment_no_onchain_fallback() {
34733473
Ok(other) => panic!("Expected Bolt11 result on first send, got: {:?}", other),
34743474
Err(e) => panic!("Expected Bolt11 result on first send, got error: {:?}", e),
34753475
};
3476-
expect_payment_successful_event!(node_a, Some(first_payment_id), None);
3476+
expect_payment_successful_event!(node_a, first_payment_id, None);
34773477

34783478
// Second send with the same URI: should return DuplicatePayment, NOT fall back to on-chain.
34793479
let second_result = node_a.unified_payment().send(uri_str_bolt11_only, None, None).await;

0 commit comments

Comments
 (0)