diff --git a/lnwallet/channel.go b/lnwallet/channel.go index 22717eda8..2581c165b 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -1992,7 +1992,7 @@ func NewBreachRetribution(chanState *channeldb.OpenChannel, stateNum uint64, // re-generate the sender HTLC script. if htlc.Incoming { htlcScript, err = senderHTLCScript( - keyRing.LocalHtlcKey, keyRing.RemoteHtlcKey, + keyRing.RemoteHtlcKey, keyRing.LocalHtlcKey, keyRing.RevocationKey, htlc.RHash[:], ) if err != nil {