Skip to content

Commit 98b41c6

Browse files
committed
channel: always specify ChanType in ResolutionReq
1 parent bf350c6 commit 98b41c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lnwallet/channel.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,6 +2202,7 @@ func NewBreachRetribution(chanState *channeldb.OpenChannel, stateNum uint64,
22022202
// resolution data for this output.
22032203
resolveReq := ResolutionReq{
22042204
ChanPoint: chanState.FundingOutpoint,
2205+
ChanType: chanState.ChanType,
22052206
ShortChanID: chanState.ShortChanID(),
22062207
Initiator: chanState.IsInitiator,
22072208
FundingBlob: chanState.CustomBlob,
@@ -2281,6 +2282,7 @@ func NewBreachRetribution(chanState *channeldb.OpenChannel, stateNum uint64,
22812282
// resolution data for this output.
22822283
resolveReq := ResolutionReq{
22832284
ChanPoint: chanState.FundingOutpoint,
2285+
ChanType: chanState.ChanType,
22842286
ShortChanID: chanState.ShortChanID(),
22852287
Initiator: chanState.IsInitiator,
22862288
FundingBlob: chanState.CustomBlob,
@@ -6839,6 +6841,7 @@ func NewUnilateralCloseSummary(chanState *channeldb.OpenChannel,
68396841
// resolution data for this output.
68406842
resolveReq := ResolutionReq{
68416843
ChanPoint: chanState.FundingOutpoint,
6844+
ChanType: chanState.ChanType,
68426845
ShortChanID: chanState.ShortChanID(),
68436846
Initiator: chanState.IsInitiator,
68446847
CommitBlob: chanState.RemoteCommitment.CustomBlob,

0 commit comments

Comments
 (0)