Update auto-generated bindings
[ldk-c-bindings] / lightning-c-bindings / src / lightning_invoice / constants.rs
index 3f1459420fd81ecee3de5c36a419541b06525bcc..a51113fa0d92d7f4db5fdafb8b399a9c885cc57c 100644 (file)
@@ -8,11 +8,13 @@
 
 /// Tag constants as specified in BOLT11
 
-use std::str::FromStr;
-use std::ffi::c_void;
+use alloc::str::FromStr;
+use core::ffi::c_void;
 use core::convert::Infallible;
 use bitcoin::hashes::Hash;
 use crate::c_types::*;
+#[cfg(feature="no-std")]
+use alloc::{vec::Vec, boxed::Box};
 
 
 #[no_mangle]
@@ -31,7 +33,7 @@ pub static TAG_DESCRIPTION_HASH: u8 = lightning_invoice::constants::TAG_DESCRIPT
 pub static TAG_EXPIRY_TIME: u8 = lightning_invoice::constants::TAG_EXPIRY_TIME;
 
 #[no_mangle]
-pub static TAG_MIN_FINAL_CLTV_EXPIRY: u8 = lightning_invoice::constants::TAG_MIN_FINAL_CLTV_EXPIRY;
+pub static TAG_MIN_FINAL_CLTV_EXPIRY_DELTA: u8 = lightning_invoice::constants::TAG_MIN_FINAL_CLTV_EXPIRY_DELTA;
 
 #[no_mangle]
 pub static TAG_FALLBACK: u8 = lightning_invoice::constants::TAG_FALLBACK;