From 6ac588e65564b8c7e869d1394755a31552104611 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Mon, 11 Nov 2024 22:59:20 +0800 Subject: [PATCH] lntest: remove an invalid check `openChannelsForNodes` is called inside `openZeroConfChannelsForNodes` so this value can be true. --- lntest/harness.go | 1 - 1 file changed, 1 deletion(-) diff --git a/lntest/harness.go b/lntest/harness.go index 274f22413..3af2ecd73 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -2302,7 +2302,6 @@ func (h *HarnessTest) openChannelsForNodes(nodes []*node.HarnessNode, p OpenChannelParams) []*lnrpc.ChannelPoint { // Sanity check the params. - require.False(h, p.ZeroConf, "zero-conf channels must be disabled") require.Greater(h, len(nodes), 1, "need at least 2 nodes") // Open channels in batch to save blocks mined.