lntest: remove an invalid check
`openChannelsForNodes` is called inside `openZeroConfChannelsForNodes` so this value can be true.
This commit is contained in:
1 file changed
-1
@@ -2302,7 +2302,6 @@ func (h *HarnessTest) openChannelsForNodes(nodes []*node.HarnessNode,
|
|||||||
p OpenChannelParams) []*lnrpc.ChannelPoint {
|
p OpenChannelParams) []*lnrpc.ChannelPoint {
|
||||||
|
|
||||||
// Sanity check the params.
|
// 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")
|
require.Greater(h, len(nodes), 1, "need at least 2 nodes")
|
||||||
|
|
||||||
// Open channels in batch to save blocks mined.
|
// Open channels in batch to save blocks mined.
|
||||||
|
|||||||
Reference in new issue
Block a user