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

decodeAddress now verifies the checksum (fixes #262) #269

Merged
merged 2 commits into from
Jan 25, 2021

Conversation

Neurone
Copy link
Contributor

@Neurone Neurone commented Jan 21, 2021

Fixed also an npm command in readme

Fixes #262

@CLAassistant
Copy link

CLAassistant commented Jan 21, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

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

Thanks for implementing this @Neurone, this looks great! Could you add a test in tests/3.Address.js to verify decodeAddress throws an error when given an address with an invalid checksum (probably with assert.throws(...))? I'd be happy to accept once that's added.

@Neurone
Copy link
Contributor Author

Neurone commented Jan 21, 2021

Hi @jasonpaulos, sure. I'll send an update during this weekend.

@ian-algorand ian-algorand added this to the Sprint 17 milestone Jan 25, 2021
Copy link
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for working on this.

@jasonpaulos jasonpaulos merged commit 514389f into algorand:develop Jan 25, 2021
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.

decodeAddress should verify the checksum
4 participants