Skip to content

Commit

Permalink
Remove WaitForFundingConfirmedData.LastSent 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 e4d6816 commit 0cb47ea
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 @@ -87,7 +87,6 @@ type ChannelWaitingForFundingSigned = {
}
let nextState = WaitForFundingConfirmed {
Deferred = None
LastSent = Choice1Of2 self.LastSent
InitialFeeRatePerKw = self.InitialFeeRatePerKw
}
let channel = {
Expand Down Expand Up @@ -203,7 +202,6 @@ and ChannelWaitingForFundingCreated = {
}
let nextState = WaitForFundingConfirmed {
Deferred = None
LastSent = msgToSend |> Choice2Of2
InitialFeeRatePerKw = self.InitialFeeRatePerKw
}
let channel = {
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 @@ -61,7 +61,6 @@ module Data =

type WaitForFundingConfirmedData = {
Deferred: Option<FundingLockedMsg>
LastSent: Choice<FundingCreatedMsg, FundingSignedMsg>
InitialFeeRatePerKw: FeeRatePerKw
}

Expand Down

0 comments on commit 0cb47ea

Please sign in to comment.