diff --git a/lntest/harness.go b/lntest/harness.go index 2bf40f0e0..4b3048e68 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -460,11 +460,11 @@ func (n *NetworkHarness) EnsureConnected(ctx context.Context, a, b *HarnessNode) // can exit early. return nil - case aErr != errConnectionRequested: + case aErr != nil && aErr != errConnectionRequested: // Return any critical errors returned by either alice. return aErr - case bErr != errConnectionRequested: + case bErr != nil && bErr != errConnectionRequested: // Return any critical errors returned by either bob. return bErr