Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: Add safety checks in selectOrchestrator #2067

Merged
merged 2 commits into from
Nov 2, 2021
Merged

Conversation

yondonfu
Copy link
Member

@yondonfu yondonfu commented Oct 23, 2021

What does this pull request do? Explain your changes. (required)

This PR adds safety checks in selectOrchestrator() that will skip the broadcast session creation for an O if it is either missing an auth token or ticket params (only if the B is running in on-chain mode) in its OrchestratorInfo message.

Specific updates (required)

See commit history.

How did you test each of these updates (required)

Added unit tests.

Does this pull request close any open issues?

N/A

Checklist:

@yondonfu yondonfu marked this pull request as ready for review November 2, 2021 12:31
Copy link
Contributor

@jailuthra jailuthra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yondonfu yondonfu merged commit 14a3e16 into master Nov 2, 2021
@yondonfu yondonfu deleted the yf/safety-checks branch November 2, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants