Skip to content

Fix EIP-681 parsing to accept URIs with unknown contract addresses#323

Open
samholmes wants to merge 2 commits intomasterfrom
sam/eip-681-unknown-contract-fix
Open

Fix EIP-681 parsing to accept URIs with unknown contract addresses#323
samholmes wants to merge 2 commits intomasterfrom
sam/eip-681-unknown-contract-fix

Conversation

@samholmes
Copy link
Copy Markdown
Collaborator

Previous implementation was too conservative with security when handling
unknown tokens.
Rather than be strict, we only throw an error when currency code or
contract address is known and doesn't either the currency code or
contract address supplied to parseUri.

Previous implementation was too conservative with security when handling
unknown tokens.
Rather than be strict, we only throw an error when currency code or
contract address is known and doesn't either the currency code or 
contract address supplied to `parseUri`.
@samholmes samholmes force-pushed the sam/eip-681-unknown-contract-fix branch from 5a994ec to 8b5dbdd Compare August 26, 2021 21:57
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.

1 participant