Skip to content

Commit

Permalink
Move Commitments into the Channel type
Browse files Browse the repository at this point in the history
Since all ChannelState variants have a Commitments field, this field can
be factored out into the Channel object.

Also, remove the ChannelId field from the ChannelState variants since it
is duplicated inside Commitments.
  • Loading branch information
canndrew committed Dec 10, 2020
1 parent 7f6723f commit 000a3d8
Show file tree
Hide file tree
Showing 3 changed files with 228 additions and 246 deletions.
Loading

0 comments on commit 000a3d8

Please sign in to comment.