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

Dry set_address_description code #157

Closed
wants to merge 1 commit into from

Conversation

knaperek
Copy link
Contributor

No description provided.

Comment on lines +618 to +622
target = f'{address}:{tag}' if tag else address
return self._put_request(
f"/v1/vault/accounts/{vault_account_id}/{asset_id}/addresses/{target}",
{"description": description or ""},
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

thank you for this! it looks better.
we decided not to merge for now since its just optimization.

@asafs932 asafs932 closed this May 22, 2024
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.

2 participants