Skip to content

Commit

Permalink
Remove WaitingForRevocation.SentAfterLocalCommitmentIndex field
Browse files Browse the repository at this point in the history
This field was unused.
  • Loading branch information
canndrew committed Dec 10, 2020
1 parent 51bcf5c commit 561257e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/DotNetLightning.Core/Channel/Commitments.fs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ type RemoteCommit = {

type WaitingForRevocation = {
NextRemoteCommit: RemoteCommit
SentAfterLocalCommitmentIndex: CommitmentNumber
ReSignASAP: bool
}
with
Expand Down
1 change: 0 additions & 1 deletion src/DotNetLightning.Core/Channel/CommitmentsModule.fs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ module internal Commitments =
RemotePerCommitmentPoint = remoteNextPerCommitmentPoint
TxId = remoteCommitTx.GetTxId()
}
SentAfterLocalCommitmentIndex = cm.LocalCommit.Index
ReSignASAP = false
}
{ cm with RemoteNextCommitInfo = RemoteNextCommitInfo.Waiting(nextRemoteCommitInfo)
Expand Down

0 comments on commit 561257e

Please sign in to comment.