From 49888b4fe7529f1123712055aba17b4cfa79fd88 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 30 Jan 2024 17:58:43 -0800 Subject: [PATCH] feature: set optional bit for rbf-coop close by default --- feature/default_sets.go | 4 ++++ feature/deps.go | 3 +++ 2 files changed, 7 insertions(+) diff --git a/feature/default_sets.go b/feature/default_sets.go index 447870b27..0809ff423 100644 --- a/feature/default_sets.go +++ b/feature/default_sets.go @@ -95,4 +95,8 @@ var defaultSetDesc = setDesc{ lnwire.Bolt11BlindedPathsOptional: { SetInvoice: {}, // I }, + lnwire.RbfCoopCloseOptionalStaging: { + SetInit: {}, // I + SetNodeAnn: {}, // N + }, } diff --git a/feature/deps.go b/feature/deps.go index 64b4f2fc9..49a170ba4 100644 --- a/feature/deps.go +++ b/feature/deps.go @@ -85,6 +85,9 @@ var deps = depDesc{ lnwire.Bolt11BlindedPathsOptional: { lnwire.RouteBlindingOptional: {}, }, + lnwire.RbfCoopCloseOptionalStaging: { + lnwire.ShutdownAnySegwitOptional: {}, + }, } // ValidateDeps asserts that a feature vector sets all features and their