We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdbd7f0 commit f817da9Copy full SHA for f817da9
src/DotNetLightning.Core/Channel/Channel.fs
@@ -1168,9 +1168,7 @@ and Channel = {
1168
let remoteCommit =
1169
match remoteNextCommitInfo with
1170
| Some (RemoteNextCommitInfo.Waiting nextRemoteCommit) -> nextRemoteCommit
1171
- | Some (RemoteNextCommitInfo.Revoked _info) -> savedChannelState.RemoteCommit
1172
- // TODO: This could return a proper error, or report the full balance
1173
- | None -> failwith "funding is not locked"
+ | _ -> savedChannelState.RemoteCommit
1174
let reducedRes =
1175
remoteCommit.Spec.Reduce(
1176
savedChannelState.RemoteChanges.ACKed,
0 commit comments