diff --git a/lntest/harness.go b/lntest/harness.go index 45515467..600c7b02 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -998,8 +998,8 @@ func (n *NetworkHarness) WaitForChannelClose(ctx context.Context, } } -// AssertChannelExists asserts that an active channel identified by -// channelPoint is known to exist from the point-of-view of node.. +// AssertChannelExists asserts that an active channel identified by the +// specified channel point exists from the point-of-view of the node. func (n *NetworkHarness) AssertChannelExists(ctx context.Context, node *HarnessNode, chanPoint *wire.OutPoint) error { @@ -1015,7 +1015,7 @@ func (n *NetworkHarness) AssertChannelExists(ctx context.Context, for _, channel := range resp.Channels { if channel.ChannelPoint == chanPoint.String() { - return true + return channel.Active } }