From 57617dc4f79c0678054fef42260ba50514e746c8 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 15 Oct 2024 19:09:44 -0700 Subject: [PATCH] channel: always specify ChanType in ResolutionReq --- lnwallet/channel.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lnwallet/channel.go b/lnwallet/channel.go index cefee3ef1..f978b2d0d 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -2166,6 +2166,7 @@ func NewBreachRetribution(chanState *channeldb.OpenChannel, stateNum uint64, // resolution data for this output. resolveReq := ResolutionReq{ ChanPoint: chanState.FundingOutpoint, + ChanType: chanState.ChanType, ShortChanID: chanState.ShortChanID(), Initiator: chanState.IsInitiator, FundingBlob: chanState.CustomBlob, @@ -2245,6 +2246,7 @@ func NewBreachRetribution(chanState *channeldb.OpenChannel, stateNum uint64, // resolution data for this output. resolveReq := ResolutionReq{ ChanPoint: chanState.FundingOutpoint, + ChanType: chanState.ChanType, ShortChanID: chanState.ShortChanID(), Initiator: chanState.IsInitiator, FundingBlob: chanState.CustomBlob, @@ -6780,6 +6782,7 @@ func NewUnilateralCloseSummary(chanState *channeldb.OpenChannel, // resolution data for this output. resolveReq := ResolutionReq{ ChanPoint: chanState.FundingOutpoint, + ChanType: chanState.ChanType, ShortChanID: chanState.ShortChanID(), Initiator: chanState.IsInitiator, CommitBlob: chanState.RemoteCommitment.CustomBlob,