From 4e7c6d9afffc123630a1f3b5855f5589b9c65d8d Mon Sep 17 00:00:00 2001 From: Yaacov Akiba Slama Date: Mon, 3 Oct 2022 11:08:57 +0300 Subject: [PATCH] Use Anchors commitment transaction when opening a channel --- intercept.go | 1 + 1 file changed, 1 insertion(+) diff --git a/intercept.go b/intercept.go index 59d28e8..1c20b48 100644 --- a/intercept.go +++ b/intercept.go @@ -64,6 +64,7 @@ func openChannel(ctx context.Context, client lnrpc.LightningClient, paymentHash, LocalFundingAmount: capacity, TargetConf: 6, Private: true, + CommitmentType: lnrpc.CommitmentType_ANCHORS, ZeroConf: true, }) if err != nil {