@@ -36,7 +36,7 @@ pub struct OptionsSupported {
36
36
/// The minimum number of block confirmations before the LSP accepts a channel as confirmed.
37
37
pub min_channel_confirmations : u8 ,
38
38
/// The minimum number of block confirmations before the LSP accepts an on-chain payment as confirmed.
39
- pub min_onchain_payment_confirmations : u8 ,
39
+ pub min_onchain_payment_confirmations : Option < u8 > ,
40
40
/// Indicates if the LSP supports zero reserve.
41
41
pub supports_zero_channel_reserve : bool ,
42
42
/// Indicates the minimum amount of satoshi that is required for the LSP to accept a payment
@@ -121,8 +121,6 @@ pub struct CreateOrderResponse {
121
121
/// An object representing the state of an order.
122
122
#[ derive( Clone , Debug , PartialEq , Eq , Deserialize , Serialize ) ]
123
123
pub enum OrderState {
124
- /// TODO: this is superfluous and should likely be removed.
125
- Requested ,
126
124
/// The order has been created.
127
125
Created ,
128
126
/// The LSP has opened the channel and published the funding transaction.
@@ -147,7 +145,7 @@ pub struct OrderPayment {
147
145
pub onchain_address : String ,
148
146
/// The minimum number of block confirmations that are required for the on-chain payment to be
149
147
/// considered confirmed.
150
- pub min_onchain_payment_confirmations : u8 ,
148
+ pub min_onchain_payment_confirmations : Option < u8 > ,
151
149
/// The minimum fee rate for the on-chain payment in case the client wants the payment to be
152
150
/// confirmed without a confirmation.
153
151
pub min_fee_for_0conf : u8 ,
0 commit comments