mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 15:02:20 +01:00
Expand Bolt11InvoiceParameters docs for no-std use
This commit is contained in:
parent
e9051f84f2
commit
20ef217985
1 changed files with 2 additions and 1 deletions
|
@ -9360,7 +9360,8 @@ pub struct Bolt11InvoiceParameters {
|
|||
/// [`DEFAULT_EXPIRY_TIME`] by default.
|
||||
///
|
||||
/// The creation time used is the duration since the Unix epoch for `std` builds. For non-`std`
|
||||
/// builds, the highest block timestamp seen is used instead.
|
||||
/// builds, the highest block timestamp seen is used instead. In the latter case, use a long
|
||||
/// enough expiry to account for the average block time.
|
||||
pub invoice_expiry_delta_secs: Option<u32>,
|
||||
|
||||
/// The minimum `cltv_expiry` for the last HTLC in the route. If not set, will use
|
||||
|
|
Loading…
Add table
Reference in a new issue