Skip to content

Commit

Permalink
Don't update holder commitment number on sending CommitmentSigned
Browse files Browse the repository at this point in the history
  • Loading branch information
contrun committed May 13, 2024
1 parent aa9a70e commit 0c1ea35
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ckb/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ impl ChannelActor {
))
.expect("network actor alive");

state.holder_commitment_number = state.get_next_commitment_number(true);
match flags {
CommitmentSignedFlags::SigningCommitment(flags) => {
let flags = flags | SigningCommitmentFlags::OUR_COMMITMENT_SIGNED_SENT;
Expand Down

0 comments on commit 0c1ea35

Please sign in to comment.