amount: None,
features: None,
quantity: None,
- payer_id: Some(&payer_pubkey()),
+ payer_id: Some(&invoice.payer_signing_pubkey()),
payer_note: None,
paths: None,
+ offer_from_hrn: None,
},
InvoiceTlvStreamRef {
paths: Some(Iterable(payment_paths.iter().map(|path| path.inner_blinded_path()))),
amount: None,
features: None,
quantity: None,
- payer_id: Some(&payer_pubkey()),
+ payer_id: Some(&invoice_request.payer_signing_pubkey()),
payer_note: None,
paths: None,
+ offer_from_hrn: None,
},
SignatureTlvStreamRef { signature: Some(&invoice_request.signature()) },
ExperimentalOfferTlvStreamRef {
assert_eq!(
fields,
InvoiceRequestFields {
- payer_signing_pubkey: payer_pubkey(),
+ payer_signing_pubkey: invoice_request.payer_signing_pubkey(),
quantity: Some(1),
payer_note_truncated: Some(UntrustedString("0".repeat(PAYER_NOTE_LIMIT))),
+ human_readable_name: None,
}
);