@@ -249,6 +249,7 @@ func (r *RPCAcceptor) sendAcceptRequests(errChan chan error,
249
249
acceptRequests := make (map [[32 ]byte ]* chanAcceptInfo )
250
250
251
251
for {
252
+ //nolint:lll
252
253
select {
253
254
// Consume requests passed to us from our Accept() function and
254
255
// send them into our stream.
@@ -331,6 +332,30 @@ func (r *RPCAcceptor) sendAcceptRequests(errChan chan error,
331
332
):
332
333
commitmentType = lnrpc .CommitmentType_ANCHORS
333
334
335
+ case channelFeatures .OnlyContains (
336
+ lnwire .SimpleTaprootChannelsRequiredStaging ,
337
+ lnwire .ZeroConfRequired ,
338
+ lnwire .ScidAliasRequired ,
339
+ ):
340
+ commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT
341
+
342
+ case channelFeatures .OnlyContains (
343
+ lnwire .SimpleTaprootChannelsRequiredStaging ,
344
+ lnwire .ZeroConfRequired ,
345
+ ):
346
+ commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT
347
+
348
+ case channelFeatures .OnlyContains (
349
+ lnwire .SimpleTaprootChannelsRequiredStaging ,
350
+ lnwire .ScidAliasRequired ,
351
+ ):
352
+ commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT
353
+
354
+ case channelFeatures .OnlyContains (
355
+ lnwire .SimpleTaprootChannelsRequiredStaging ,
356
+ ):
357
+ commitmentType = lnrpc .CommitmentType_SIMPLE_TAPROOT
358
+
334
359
case channelFeatures .OnlyContains (
335
360
lnwire .StaticRemoteKeyRequired ,
336
361
):
0 commit comments