File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -627,14 +627,24 @@ type CommitAuxLeaves struct {
627627
628628 // RemoteAuxLeaf is the remote party's auxiliary leaf.
629629 RemoteAuxLeaf input.AuxTapLeaf
630+
631+ // OutgoingHTLCLeaves is the set of aux leaves for the outgoing HTLCs
632+ // on this commitment transaction.
633+ OutgoingHtlcLeaves input.AuxTapLeaves
634+
635+ // IncomingHTLCLeaves is the set of aux leaves for the incoming HTLCs
636+ // on this commitment transaction.
637+ IncomingHtlcLeaves input.AuxTapLeaves
630638}
631639
632640// ForRemoteCommit returns the local+remote aux leaves from the PoV of the
633641// remote party's commitment.
634642func (c * CommitAuxLeaves ) ForRemoteCommit () CommitAuxLeaves {
635643 return CommitAuxLeaves {
636- LocalAuxLeaf : c .RemoteAuxLeaf ,
637- RemoteAuxLeaf : c .LocalAuxLeaf ,
644+ LocalAuxLeaf : c .RemoteAuxLeaf ,
645+ RemoteAuxLeaf : c .LocalAuxLeaf ,
646+ OutgoingHtlcLeaves : c .IncomingHtlcLeaves ,
647+ IncomingHtlcLeaves : c .OutgoingHtlcLeaves ,
638648 }
639649}
640650
You can’t perform that action at this time.
0 commit comments