@@ -108,9 +108,13 @@ type AuxFundingDesc struct {
108108 // first commitment entry for the remote party.
109109 CustomRemoteCommitBlob tlv.Blob
110110
111- // InitAuxLeaves is the set of aux leaves that'll be used for the very
112- // first commitment state.
113- InitAuxLeaves CommitAuxLeaves
111+ // LocalInitAuxLeaves is the set of aux leaves that'll be used for our
112+ // very first commitment state.
113+ LocalInitAuxLeaves CommitAuxLeaves
114+
115+ // RemoteInitAuxLeaves is the set of aux leaves that'll be used for the
116+ // very first commitment state for the remote party.
117+ RemoteInitAuxLeaves CommitAuxLeaves
114118}
115119
116120// InitFundingReserveMsg is the first message sent to initiate the workflow
@@ -1481,6 +1485,8 @@ func defaultCommitOpts() createCommitOpts {
14811485
14821486// WithAuxLeaves is a functional option that can be used to set the aux leaves
14831487// for a new commitment transaction.
1488+ //
1489+ // TODO(roasbeef): local+remote leaves
14841490func WithAuxLeaves (leaves fn.Option [CommitAuxLeaves ]) CreateCommitOpt {
14851491 return func (o * createCommitOpts ) {
14861492 o .auxLeaves = leaves
@@ -2308,6 +2314,10 @@ func (l *LightningWallet) handleSingleFunderSigs(req *addSingleFunderSigsMsg) {
23082314 pendingReservation .Lock ()
23092315 defer pendingReservation .Unlock ()
23102316
2317+ // TODO(roasbeef): get funding desc
2318+ // * set all blobs
2319+ // * get the local+remote commitAux leaves for below commitment txns
2320+
23112321 chanState := pendingReservation .partialState
23122322 chanType := pendingReservation .partialState .ChanType
23132323 chanState .FundingOutpoint = * req .fundingOutpoint
0 commit comments