Skip to content

Commit

Permalink
Remove ChannelAnnoucement field from NormalData
Browse files Browse the repository at this point in the history
This field is unused.
  • Loading branch information
canndrew committed Dec 10, 2020
1 parent f5036a7 commit 8c490b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/DotNetLightning.Core/Channel/Channel.fs
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ module Channel =
None)
let nextState = {
ShortChannelId = state.ShortChannelId
ChannelAnnouncement = None
ChannelUpdate = initialChannelUpdate
LocalShutdown = None
RemoteShutdown = None
Expand Down Expand Up @@ -1080,7 +1079,6 @@ module Channel =
let nextState = {
RemoteNextCommitInfo = RemoteNextCommitInfo.Revoked msg.NextPerCommitmentPoint
ShortChannelId = s.ShortChannelId
ChannelAnnouncement = None
ChannelUpdate = channelUpdate
LocalShutdown = None
RemoteShutdown = None
Expand Down
1 change: 0 additions & 1 deletion src/DotNetLightning.Core/Channel/ChannelTypes.fs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ module Data =

type NormalData = {
ShortChannelId: ShortChannelId
ChannelAnnouncement: Option<ChannelAnnouncementMsg>
ChannelUpdate: ChannelUpdateMsg
LocalShutdown: Option<ShutdownMsg>
RemoteShutdown: Option<ShutdownMsg>
Expand Down

0 comments on commit 8c490b8

Please sign in to comment.