@@ -420,9 +420,9 @@ pub struct OpenChannelWithExternalFundingParams {
420420/// Result of opening a channel with external funding.
421421#[ derive( Clone , Serialize , Deserialize ) ]
422422pub struct OpenChannelWithExternalFundingResult {
423- /// The temporary channel ID of the channel being opened.
423+ /// The channel ID of the channel being opened.
424424 /// Use this ID to submit the signed funding transaction.
425- pub temporary_channel_id : Hash256 ,
425+ pub channel_id : Hash256 ,
426426
427427 /// The final unsigned funding transaction that needs to be signed.
428428 /// The user should sign this transaction with their wallet and submit it
@@ -433,7 +433,7 @@ pub struct OpenChannelWithExternalFundingResult {
433433/// Parameters for submitting a signed funding transaction for external funding.
434434#[ derive( Serialize , Deserialize , Debug ) ]
435435pub struct SubmitSignedFundingTxParams {
436- /// The temporary channel ID returned from `open_channel_with_external_funding`.
436+ /// The channel ID returned from `open_channel_with_external_funding`.
437437 pub channel_id : Hash256 ,
438438
439439 /// The signed funding transaction. This must be the same final transaction structure
@@ -445,7 +445,7 @@ pub struct SubmitSignedFundingTxParams {
445445/// Result of submitting a signed funding transaction.
446446#[ derive( Clone , Serialize , Deserialize ) ]
447447pub struct SubmitSignedFundingTxResult {
448- /// The channel ID (may be updated from temporary to final after peer exchange) .
448+ /// The channel ID.
449449 pub channel_id : Hash256 ,
450450
451451 /// The hash of the funding transaction that was submitted.
@@ -830,7 +830,7 @@ where
830830 } ;
831831 handle_actor_call ! ( self . actor, message, params) . map ( |response| {
832832 OpenChannelWithExternalFundingResult {
833- temporary_channel_id : response. channel_id ,
833+ channel_id : response. channel_id ,
834834 unsigned_funding_tx : response. unsigned_funding_tx . into ( ) ,
835835 }
836836 } )
0 commit comments