Skip to content

Commit b97b58f

Browse files
committed
f rebase derived_from_hrn
1 parent e589d91 commit b97b58f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11231,7 +11231,7 @@ where
1123111231
amount_msats,
1123211232
optional_params.payer_note,
1123311233
payment_id,
11234-
None,
11234+
derived_from_hrn,
1123511235
create_pending_payment_fn,
1123611236
)
1123711237
}
@@ -11253,7 +11253,8 @@ where
1125311253
/// [`InvoiceRequest::quantity`]: crate::offers::invoice_request::InvoiceRequest::quantity
1125411254
pub fn pay_for_offer_with_quantity(
1125511255
&self, offer: &Offer, amount_msats: Option<u64>, payment_id: PaymentId,
11256-
optional_params: OptionalOfferPaymentParams, quantity: u64,
11256+
optional_params: OptionalOfferPaymentParams, derived_from_hrn: Option<HumanReadableName>,
11257+
quantity: u64,
1125711258
) -> Result<(), Bolt12SemanticError> {
1125811259
let create_pending_payment_fn = |invoice_request: &InvoiceRequest, nonce| {
1125911260
let expiration = StaleExpiration::TimerTicks(1);

0 commit comments

Comments
 (0)