@@ -40,11 +40,11 @@ pub struct GetInfoRequest {}
4040#[ derive( Clone , Debug , PartialEq , Eq , Deserialize , Serialize ) ]
4141pub struct OptionsSupported {
4242 /// The smallest number of confirmations needed for the LSP to accept a channel as confirmed.
43- pub min_required_channel_confirmations : u8 ,
43+ pub min_required_channel_confirmations : u16 ,
4444 /// The smallest number of blocks in which the LSP can confirm the funding transaction.
45- pub min_funding_confirms_within_blocks : u8 ,
45+ pub min_funding_confirms_within_blocks : u16 ,
4646 /// The minimum number of block confirmations before the LSP accepts an on-chain payment as confirmed.
47- pub min_onchain_payment_confirmations : Option < u8 > ,
47+ pub min_onchain_payment_confirmations : Option < u16 > ,
4848 /// Indicates if the LSP supports zero reserve.
4949 pub supports_zero_channel_reserve : bool ,
5050 /// Indicates the minimum amount of satoshi that is required for the LSP to accept a payment
@@ -104,9 +104,9 @@ pub struct OrderParams {
104104 #[ serde( with = "string_amount" ) ]
105105 pub client_balance_sat : u64 ,
106106 /// The number of confirmations the funding tx must have before the LSP sends `channel_ready`.
107- pub required_channel_confirmations : u8 ,
107+ pub required_channel_confirmations : u16 ,
108108 /// The maximum number of blocks the client wants to wait until the funding transaction is confirmed.
109- pub funding_confirms_within_blocks : u8 ,
109+ pub funding_confirms_within_blocks : u16 ,
110110 /// Indicates how long the channel is leased for in block time.
111111 pub channel_expiry_blocks : u32 ,
112112 /// May contain arbitrary associated data like a coupon code or a authentication token.
@@ -167,7 +167,7 @@ pub struct PaymentInfo {
167167 pub onchain_address : Address < NetworkUnchecked > ,
168168 /// The minimum number of block confirmations that are required for the on-chain payment to be
169169 /// considered confirmed.
170- pub min_onchain_payment_confirmations : Option < u8 > ,
170+ pub min_onchain_payment_confirmations : Option < u16 > ,
171171 /// The minimum fee rate for the on-chain payment in case the client wants the payment to be
172172 /// confirmed without a confirmation.
173173 pub min_fee_for_0conf : u8 ,
0 commit comments