Skip to content

Commit 12ecea3

Browse files
committed
feature: start to set the require bit for channel_type
Related to this spec PR: lightning/bolts#1232. To start with, we'll start to set the required feature bit for the `channel_type` feature where applicable.
1 parent f7b3177 commit 12ecea3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

feature/default_sets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var defaultSetDesc = setDesc{
6060
lnwire.AMPRequired: {
6161
SetInvoiceAmp: {}, // 9A
6262
},
63-
lnwire.ExplicitChannelTypeOptional: {
63+
lnwire.ExplicitChannelTypeRequired: {
6464
SetInit: {}, // I
6565
SetNodeAnn: {}, // N
6666
},

feature/deps.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ var deps = depDesc{
6464
lnwire.AMPOptional: {
6565
lnwire.PaymentAddrOptional: {},
6666
},
67-
lnwire.ExplicitChannelTypeOptional: {},
67+
lnwire.ExplicitChannelTypeRequired: {},
6868
lnwire.ScriptEnforcedLeaseOptional: {
69-
lnwire.ExplicitChannelTypeOptional: {},
69+
lnwire.ExplicitChannelTypeRequired: {},
7070
lnwire.AnchorsZeroFeeHtlcTxOptional: {},
7171
},
7272
lnwire.KeysendOptional: {
@@ -77,7 +77,7 @@ var deps = depDesc{
7777
},
7878
lnwire.SimpleTaprootChannelsOptionalStaging: {
7979
lnwire.AnchorsZeroFeeHtlcTxOptional: {},
80-
lnwire.ExplicitChannelTypeOptional: {},
80+
lnwire.ExplicitChannelTypeRequired: {},
8181
},
8282
lnwire.SimpleTaprootOverlayChansOptional: {
8383
lnwire.SimpleTaprootChannelsOptionalStaging: {},

0 commit comments

Comments
 (0)