File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -356,6 +356,30 @@ func (r *RPCAcceptor) sendAcceptRequests(errChan chan error,
356356 ):
357357 commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT
358358
359+ case channelFeatures .OnlyContains (
360+ lnwire .SimpleTaprootOverlayChansRequired ,
361+ lnwire .ZeroConfRequired ,
362+ lnwire .ScidAliasRequired ,
363+ ):
364+ commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT_OVERLAY
365+
366+ case channelFeatures .OnlyContains (
367+ lnwire .SimpleTaprootOverlayChansRequired ,
368+ lnwire .ZeroConfRequired ,
369+ ):
370+ commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT_OVERLAY
371+
372+ case channelFeatures .OnlyContains (
373+ lnwire .SimpleTaprootOverlayChansRequired ,
374+ lnwire .ScidAliasRequired ,
375+ ):
376+ commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT_OVERLAY
377+
378+ case channelFeatures .OnlyContains (
379+ lnwire .SimpleTaprootOverlayChansRequired ,
380+ ):
381+ commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT_OVERLAY
382+
359383 case channelFeatures .OnlyContains (
360384 lnwire .StaticRemoteKeyRequired ,
361385 ):
You can’t perform that action at this time.
0 commit comments