Skip to content

Commit d001559

Browse files
fixup! blip42: Add ContactInfo field to PaymentSent event for contact management
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
1 parent b35a065 commit d001559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/offers_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2607,7 +2607,7 @@ fn pay_offer_and_add_contacts_info_blip42() {
26072607
let contact_info = contact_info.unwrap();
26082608

26092609
assert!(invoice_request.contact_secret().is_some());
2610-
assert_eq!(invoice_request.contact_secret().unwrap(), contact_info.contact_secrets.primary_secret());
2610+
assert_eq!(invoice_request.contact_secret().unwrap(), *contact_info.contact_secrets.primary_secret());
26112611

26122612
let alice_invoice_request_fields = match alice_payment_purpose {
26132613
PaymentPurpose::Bolt12OfferPayment { payment_context, .. } => {

0 commit comments

Comments
 (0)