From 98b41c657639705f916883e827f0474e152a5e4e 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 33360228d..b9739b017 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -2202,6 +2202,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, @@ -2281,6 +2282,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, @@ -6839,6 +6841,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,