mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
lntest: remove an invalid check
`openChannelsForNodes` is called inside `openZeroConfChannelsForNodes` so this value can be true.
This commit is contained in:
parent
4f6b510869
commit
6ac588e655
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue