We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84ac66e commit f875579Copy full SHA for f875579
lightning-invoice/src/lib.rs
@@ -64,7 +64,11 @@ pub const DEFAULT_EXPIRY_TIME: u64 = 3600;
64
65
/// Default minimum final CLTV expiry as defined by [BOLT 11].
66
///
67
+/// Note that this is *not* the same value as rust-lightning's minimum CLTV expiry, which is
68
+/// provided in [`MIN_FINAL_CLTV_EXPIRY`].
69
+///
70
/// [BOLT 11]: https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md
71
+/// [`MIN_FINAL_CLTV_EXPIRY`]: lightning::ln::channelmanager::MIN_FINAL_CLTV_EXPIRY
72
pub const DEFAULT_MIN_FINAL_CLTV_EXPIRY: u64 = 18;
73
74
/// This function is used as a static assert for the size of `SystemTime`. If the crate fails to
0 commit comments