htlcswitch: keep final htlc outcome

This commit is contained in:
Joost Jager committed 2022-10-27 16:42:36 +02:00
1 parent b85cda2a1d
commit 28256b7ea8
20 files changed
+466 -111

No files matched your search

+2 -2
View File
@@ -502,7 +502,7 @@ func ForceStateTransition(chanA, chanB *LightningChannel) error {
return err
}
bobRevocation, _, err := chanB.RevokeCurrentCommitment()
bobRevocation, _, _, err := chanB.RevokeCurrentCommitment()
if err != nil {
return err
}
@@ -518,7 +518,7 @@ func ForceStateTransition(chanA, chanB *LightningChannel) error {
return err
}
aliceRevocation, _, err := chanA.RevokeCurrentCommitment()
aliceRevocation, _, _, err := chanA.RevokeCurrentCommitment()
if err != nil {
return err
}