Skip to content

Commit

Permalink
Expand Bolt11InvoiceParameters docs for no-std use
Browse files Browse the repository at this point in the history
  • Loading branch information
jkczyz committed Nov 12, 2024
1 parent e9051f8 commit 20ef217
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20ef217

Please sign in to comment.