Skip to content

Commit

Permalink
Typo: NowKnown -> NotKnown
Browse files Browse the repository at this point in the history
  • Loading branch information
aarani authored and knocte committed Jun 18, 2021
1 parent 7b8daf2 commit 5ab1a1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DotNetLightning.Core/Channel/ChannelError.fs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ module internal ChannelError =
let inline unknownHTLCId x =
x |> UnknownHTLCId |> Error

let inline htlcOriginNowKnown x =
let inline htlcOriginNotKnown x =
x |> HTLCOriginNotKnown |> Error
let inline invalidFailureCode x =
x |> InvalidFailureCode |> Error
Expand Down
4 changes: 2 additions & 2 deletions src/DotNetLightning.Core/Channel/CommitmentsModule.fs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ module internal Commitments =
match cm.OriginChannels.TryGetValue(msg.HTLCId) with
| true, origin -> Ok origin
| false, _ ->
msg.HTLCId |> htlcOriginNowKnown
msg.HTLCId |> htlcOriginNotKnown
let nextC = cm.AddRemoteProposal(msg)
return nextC
}
Expand Down Expand Up @@ -235,7 +235,7 @@ module internal Commitments =
match cm.OriginChannels.TryGetValue(msg.HTLCId) with
| true, o -> Ok o
| false, _ ->
msg.HTLCId |> htlcOriginNowKnown
msg.HTLCId |> htlcOriginNotKnown
let nextC = cm.AddRemoteProposal(msg)
return nextC
}
Expand Down

0 comments on commit 5ab1a1d

Please sign in to comment.