lntest: remove an invalid check

`openChannelsForNodes` is called inside `openZeroConfChannelsForNodes`
so this value can be true.
This commit is contained in:
yyforyongyu 2024-11-11 22:59:20 +08:00
parent 4f6b510869
commit 6ac588e655
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868

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.