Skip to content

Commit ae08358

Browse files
committed
Typo: NowKnown -> NotKnown
1 parent 41dcc2c commit ae08358

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/DotNetLightning.Core/Channel/ChannelError.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ module internal ChannelError =
272272
let inline unknownHTLCId x =
273273
x |> UnknownHTLCId |> Error
274274

275-
let inline htlcOriginNowKnown x =
275+
let inline htlcOriginNotKnown x =
276276
x |> HTLCOriginNotKnown |> Error
277277
let inline invalidFailureCode x =
278278
x |> InvalidFailureCode |> Error

src/DotNetLightning.Core/Channel/CommitmentsModule.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ module internal Commitments =
176176
match cm.OriginChannels.TryGetValue(msg.HTLCId) with
177177
| true, origin -> Ok origin
178178
| false, _ ->
179-
msg.HTLCId |> htlcOriginNowKnown
179+
msg.HTLCId |> htlcOriginNotKnown
180180
let nextC = cm.AddRemoteProposal(msg)
181181
return [WeAcceptedFailHTLC(o, htlc, nextC)]
182182
}
@@ -214,7 +214,7 @@ module internal Commitments =
214214
match cm.OriginChannels.TryGetValue(msg.HTLCId) with
215215
| true, o -> Ok o
216216
| false, _ ->
217-
msg.HTLCId |> htlcOriginNowKnown
217+
msg.HTLCId |> htlcOriginNotKnown
218218
let nextC = cm.AddRemoteProposal(msg)
219219
return [WeAcceptedFailMalformedHTLC(o, htlc, nextC)]
220220
}

0 commit comments

Comments
 (0)