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

onScan find Address in Store with Appropriate Prefix #349

Merged
merged 4 commits into from
Sep 2, 2019
Merged

Conversation

pmespresso
Copy link
Contributor

@pmespresso pmespresso commented Sep 2, 2019

fixes #348

This will match the account prefix based on the payload genesis hash.

In case user is signing a message or a hash, and the address provided couldn't be found in store, it'll do one more pass with the dev chain prefix encoding to search.

@pmespresso pmespresso changed the title Yj addr onScan find Address in Store with Appropriate Prefix Sep 2, 2019
src/stores/ScannerStore.js Outdated Show resolved Hide resolved
src/util/decoders.js Outdated Show resolved Hide resolved
src/util/decoders.js Outdated Show resolved Hide resolved
Copy link
Contributor

@Tbaut Tbaut left a comment

Choose a reason for hiding this comment

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

working great, tested all dev qr codes for Polkadot dev :)

@Tbaut Tbaut merged commit 402bda9 into master Sep 2, 2019
@Tbaut Tbaut deleted the yj-addr branch September 2, 2019 20:44
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.

Address not found on 3.0
2 participants