Skip to content

Commit 20ef217

Browse files
committed
Expand Bolt11InvoiceParameters docs for no-std use
1 parent e9051f8 commit 20ef217

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/channelmanager.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -9360,7 +9360,8 @@ pub struct Bolt11InvoiceParameters {
93609360
/// [`DEFAULT_EXPIRY_TIME`] by default.
93619361
///
93629362
/// The creation time used is the duration since the Unix epoch for `std` builds. For non-`std`
9363-
/// builds, the highest block timestamp seen is used instead.
9363+
/// builds, the highest block timestamp seen is used instead. In the latter case, use a long
9364+
/// enough expiry to account for the average block time.
93649365
pub invoice_expiry_delta_secs: Option<u32>,
93659366

93669367
/// The minimum `cltv_expiry` for the last HTLC in the route. If not set, will use

0 commit comments

Comments
 (0)