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

Allow putting and getting multiple XOR-PEER-ADDRESS attributes from Params struct #87

Closed
arkgil opened this issue Apr 6, 2017 · 0 comments

Comments

@arkgil
Copy link
Contributor

arkgil commented Apr 6, 2017

Currently Params.get_attr/2 returns only first occurence of attribute, and Params.put_attr/2 overrides attribute if such attribute already exists in the struct. We should add an API for retrieving multiple attributes of the same type, which makes sense only for XOR-PEER-ADDRESS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant