From 32f4f4cea768869019d0b63f2b2f448fa933ac41 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 19 Jan 2023 20:10:16 -0800 Subject: [PATCH] feature: add SimpleTaprootChannelsOptional to the set of default chan types --- feature/default_sets.go | 4 ++++ feature/deps.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/feature/default_sets.go b/feature/default_sets.go index 1b1fd1f10..cefa1c0bc 100644 --- a/feature/default_sets.go +++ b/feature/default_sets.go @@ -83,4 +83,8 @@ var defaultSetDesc = setDesc{ SetInit: {}, // I SetNodeAnn: {}, // N }, + lnwire.SimpleTaprootChannelsOptional: { + SetInit: {}, // I + SetNodeAnn: {}, // N + }, } diff --git a/feature/deps.go b/feature/deps.go index 8e1d8ac09..314dd3a6d 100644 --- a/feature/deps.go +++ b/feature/deps.go @@ -75,6 +75,10 @@ var deps = depDesc{ lnwire.ZeroConfOptional: { lnwire.ScidAliasOptional: {}, }, + lnwire.SimpleTaprootChannelsOptional: { + lnwire.AnchorsZeroFeeHtlcTxOptional: {}, + lnwire.ExplicitChannelTypeOptional: {}, + }, } // ValidateDeps asserts that a feature vector sets all features and their