@@ -147,9 +147,9 @@ pub struct Bolt11SendRequest {
147147#[ allow( clippy:: derive_partial_eq_without_eq) ]
148148#[ derive( Clone , PartialEq , :: prost:: Message ) ]
149149pub 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 ,
153153}
154154/// Returns a BOLT12 offer for the given amount, if specified.
155155///
@@ -211,9 +211,9 @@ pub struct Bolt12SendRequest {
211211#[ allow( clippy:: derive_partial_eq_without_eq) ]
212212#[ derive( Clone , PartialEq , :: prost:: Message ) ]
213213pub 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 ,
217217}
218218/// Creates a new outbound channel to the given remote node.
219219/// See more: <https://docs.rs/ldk-node/latest/ldk_node/struct.Node.html#method.connect_open_channel>
0 commit comments