mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-20 04:21:37 +02:00
channel: always specify ChanType in ResolutionReq
This commit is contained in:
committed by
Oliver Gugger
parent
a5beb340e4
commit
57617dc4f7
@@ -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,
|
||||
|
Reference in New Issue
Block a user