@@ -147,9 +147,9 @@ pub struct Bolt11SendRequest {
147
147
#[ allow( clippy:: derive_partial_eq_without_eq) ]
148
148
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
149
149
pub struct Bolt11SendResponse {
150
- /// An identifier used to uniquely identify a payment.
151
- #[ prost( bytes = "bytes" , tag = "1" ) ]
152
- pub payment_id : :: prost:: bytes :: Bytes ,
150
+ /// An identifier used to uniquely identify a payment in hex-encoded form .
151
+ #[ prost( string , tag = "1" ) ]
152
+ pub payment_id : :: prost:: alloc :: string :: String ,
153
153
}
154
154
/// Returns a BOLT12 offer for the given amount, if specified.
155
155
///
@@ -211,9 +211,9 @@ pub struct Bolt12SendRequest {
211
211
#[ allow( clippy:: derive_partial_eq_without_eq) ]
212
212
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
213
213
pub struct Bolt12SendResponse {
214
- /// An identifier used to uniquely identify a payment.
215
- #[ prost( bytes = "bytes" , tag = "1" ) ]
216
- pub payment_id : :: prost:: bytes :: Bytes ,
214
+ /// An identifier used to uniquely identify a payment in hex-encoded form .
215
+ #[ prost( string , tag = "1" ) ]
216
+ pub payment_id : :: prost:: alloc :: string :: String ,
217
217
}
218
218
/// Creates a new outbound channel to the given remote node.
219
219
/// See more: <https://docs.rs/ldk-node/latest/ldk_node/struct.Node.html#method.connect_open_channel>
@@ -245,16 +245,16 @@ pub struct OpenChannelRequest {
245
245
#[ allow( clippy:: derive_partial_eq_without_eq) ]
246
246
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
247
247
pub struct OpenChannelResponse {
248
- /// The channel id of the created channel that user can use to refer to channel.
249
- #[ prost( bytes = "bytes" , tag = "1" ) ]
250
- pub user_channel_id : :: prost:: bytes :: Bytes ,
248
+ /// The local channel id of the created channel that user can use to refer to channel.
249
+ #[ prost( string , tag = "1" ) ]
250
+ pub user_channel_id : :: prost:: alloc :: string :: String ,
251
251
}
252
252
/// Update the config for a previously opened channel.
253
253
/// See more: <https://docs.rs/ldk-node/latest/ldk_node/struct.Node.html#method.update_channel_config>
254
254
#[ allow( clippy:: derive_partial_eq_without_eq) ]
255
255
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
256
256
pub struct UpdateChannelConfigRequest {
257
- /// The hex-encoded local `user_channel_id` of this channel.
257
+ /// The local `user_channel_id` of this channel.
258
258
#[ prost( string, tag = "1" ) ]
259
259
pub user_channel_id : :: prost:: alloc:: string:: String ,
260
260
/// The hex-encoded public key of the counterparty node to update channel config with.
@@ -276,9 +276,9 @@ pub struct UpdateChannelConfigResponse {}
276
276
#[ allow( clippy:: derive_partial_eq_without_eq) ]
277
277
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
278
278
pub struct CloseChannelRequest {
279
- /// The channel id of the created channel that user can use to refer to channel.
280
- #[ prost( bytes = "bytes" , tag = "1" ) ]
281
- pub user_channel_id : :: prost:: bytes :: Bytes ,
279
+ /// The local `user_channel_id` of this channel.
280
+ #[ prost( string , tag = "1" ) ]
281
+ pub user_channel_id : :: prost:: alloc :: string :: String ,
282
282
/// The hex-encoded public key of the node to close a channel with.
283
283
#[ prost( string, tag = "2" ) ]
284
284
pub counterparty_node_id : :: prost:: alloc:: string:: String ,
0 commit comments