mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
lntest: remove an invalid check
`openChannelsForNodes` is called inside `openZeroConfChannelsForNodes` so this value can be true.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user