mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Merge pull request #1341 from jkczyz/2022-03-expiry-time-panic
Correct docs about invoice_expiry_delta_secs panic
This commit is contained in:
commit
756bcbc667
1 changed files with 4 additions and 2 deletions
|
@ -5145,6 +5145,8 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
|
|||
/// Legacy version of [`create_inbound_payment`]. Use this method if you wish to share
|
||||
/// serialized state with LDK node(s) running 0.0.103 and earlier.
|
||||
///
|
||||
/// May panic if `invoice_expiry_delta_secs` is greater than one year.
|
||||
///
|
||||
/// # Note
|
||||
/// This method is deprecated and will be removed soon.
|
||||
///
|
||||
|
@ -5185,8 +5187,6 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
|
|||
/// If you need exact expiry semantics, you should enforce them upon receipt of
|
||||
/// [`PaymentReceived`].
|
||||
///
|
||||
/// May panic if `invoice_expiry_delta_secs` is greater than one year.
|
||||
///
|
||||
/// Note that invoices generated for inbound payments should have their `min_final_cltv_expiry`
|
||||
/// set to at least [`MIN_FINAL_CLTV_EXPIRY`].
|
||||
///
|
||||
|
@ -5209,6 +5209,8 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
|
|||
/// Legacy version of [`create_inbound_payment_for_hash`]. Use this method if you wish to share
|
||||
/// serialized state with LDK node(s) running 0.0.103 and earlier.
|
||||
///
|
||||
/// May panic if `invoice_expiry_delta_secs` is greater than one year.
|
||||
///
|
||||
/// # Note
|
||||
/// This method is deprecated and will be removed soon.
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue