channel: always specify ChanType in ResolutionReq

This commit is contained in:
Olaoluwa Osuntokun committed 2024-11-14 16:09:57 -08:00
1 parent bf350c6ede
commit 98b41c6576
1 file changed
+3
+3
View File
@@ -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,