Skip to content

Commit 08d0aa2

Browse files
committed
channel: add ResolutionBlob to Incoming+Outgoing HtlcResolution
Similar to the other blobs we have for the commitment output force close resolution, these blobs will be used to ensure that we have everything needed to sweep aux HTLCs.
1 parent 98b41c6 commit 08d0aa2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lnwallet/channel.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6959,6 +6959,11 @@ type IncomingHtlcResolution struct {
69596959
// necessary items required to spend the sole output of the above
69606960
// transaction.
69616961
SweepSignDesc input.SignDescriptor
6962+
6963+
// ResolutionBlob is a blob used for aux channels that permits a
6964+
// spender of the output to properly resolve it in the case of a force
6965+
// close.
6966+
ResolutionBlob fn.Option[tlv.Blob]
69626967
}
69636968

69646969
// OutgoingHtlcResolution houses the information necessary to sweep any
@@ -7008,6 +7013,11 @@ type OutgoingHtlcResolution struct {
70087013
// necessary items required to spend the sole output of the above
70097014
// transaction.
70107015
SweepSignDesc input.SignDescriptor
7016+
7017+
// ResolutionBlob is a blob used for aux channels that permits a
7018+
// spender of the output to properly resolve it in the case of a force
7019+
// close.
7020+
ResolutionBlob fn.Option[tlv.Blob]
70117021
}
70127022

70137023
// HtlcResolutions contains the items necessary to sweep HTLC's on chain

0 commit comments

Comments
 (0)