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

do not crash on connection request/response creation if no endpoints … #497

Merged
merged 2 commits into from
May 8, 2020

Conversation

sklump
Copy link
Contributor

@sklump sklump commented May 8, 2020

…at all in config

Signed-off-by: sklump [email protected]

@@ -296,7 +296,8 @@ async def create_request(

# Create connection request message
if not my_endpoint:
my_endpoints = [self.context.settings.get("default_endpoint")]
my_endpoints = []
my_endpoints.extend(self.context.settings.get("default_endpoint", []))
Copy link
Member

Choose a reason for hiding this comment

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

That doesn't seem right, default_endpoint is a string

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, will fix

@andrewwhitehead andrewwhitehead merged commit 4db02e7 into hyperledger:master May 8, 2020
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