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

check market protocol before making boost deal #843

Merged
merged 4 commits into from
Sep 29, 2022
Merged

Conversation

LexLuthr
Copy link
Collaborator

No description provided.

@LexLuthr LexLuthr linked an issue Sep 29, 2022 that may be closed by this pull request
cmd/boost/deal_cmd.go Outdated Show resolved Hide resolved
cmd/boost/deal_cmd.go Outdated Show resolved Hide resolved
cmd/boost/deal_cmd.go Outdated Show resolved Hide resolved
@nonsense nonsense self-requested a review September 29, 2022 12:31
cmd/boost/deal_cmd.go Outdated Show resolved Hide resolved
Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
@dirkmc
Copy link
Contributor

dirkmc commented Sep 29, 2022

I think we can just use n.Host.Peerstore().FirstSupportedProtocol()

@LexLuthr
Copy link
Collaborator Author

@dirkmc I have changed the method. Let me know if the new format is good.

@dirkmc
Copy link
Contributor

dirkmc commented Sep 29, 2022

Looks good, thanks 👍

@LexLuthr LexLuthr merged commit adcebf9 into main Sep 29, 2022
@LexLuthr LexLuthr deleted the protocol-check branch September 29, 2022 13:27
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.

boost client: better error message when connecting to legacy markets
3 participants