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

fix: Fix classic_address aliasing issue #617

Merged
merged 3 commits into from
Jul 10, 2023
Merged

fix: Fix classic_address aliasing issue #617

merged 3 commits into from
Jul 10, 2023

Conversation

JST5000
Copy link
Collaborator

@JST5000 JST5000 commented Jul 6, 2023

High Level Overview of Change

Fix mypy complaining about Wallet.classic_address being a Callable when it is an aliased str property. (Open mypy issue: python/mypy#6700)

Context of Change

Currently aliasing a property is not properly typed by mypy. As a workaround you can switch to using address instead of classic_address, but this should resolve the issue until the mypy issue is fixed.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Test Plan

CI passes

@JST5000
Copy link
Collaborator Author

JST5000 commented Jul 6, 2023

Closes #616

differentiate it from the x-address standard, which encodes the network,
destination tag, and XRPL address into a single value. It's also a base58 string.
"""
# TODO: Just alias classic_address once mypy has resolved this issue:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd recommend opening an issue for this as a reminder

@JST5000 JST5000 merged commit 98e3816 into master Jul 10, 2023
17 checks passed
@JST5000 JST5000 deleted the remove-alias branch July 10, 2023 17:05
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

3 participants