Skip to content

Commit

Permalink
Rename method to finalize_unilateral_close_established_channel
Browse files Browse the repository at this point in the history
This method only handles publishing a CET, _not_ claiming settle
transaction outputs.
  • Loading branch information
luckysori committed Mar 12, 2024
1 parent 5504276 commit cb012ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dlc-manager/src/channel_updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2603,7 +2603,7 @@ where
}

/// Extract the CET and computes the signature for it, and marks the channel as closed.
pub fn finalize_unilateral_close_settled_channel<S: Deref>(
pub fn finalize_unilateral_close_established_channel<S: Deref>(
secp: &Secp256k1<All>,
signed_channel: &SignedChannel,
confirmed_contract: &SignedContract,
Expand Down
2 changes: 1 addition & 1 deletion dlc-manager/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ where
})?;

let (signed_cet, closed_channel) =
channel_updater::finalize_unilateral_close_settled_channel(
channel_updater::finalize_unilateral_close_established_channel(
&self.secp,
&signed_channel,
&confirmed_contract,
Expand Down

0 comments on commit cb012ad

Please sign in to comment.