lntest: remove an invalid check

`openChannelsForNodes` is called inside `openZeroConfChannelsForNodes`
so this value can be true.
This commit is contained in:
yyforyongyu committed 2024-11-12 14:46:30 +08:00
1 parent 4f6b510869
commit 6ac588e655
1 file changed
-1
-1
View File
@@ -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.