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

Bug: CIP-68 images not displayed correctly #876

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Felippo001
Copy link

I came across a bug while working with CIP68 tokens, specifically in handling key-value pairs where the value exceeds 64 letters. In such cases, there's a need to split the string into an array of multiple strings. This bug is affecting the correct display of images and the identification of the CIP-68 tokens in Nami wallet.

Not working in CIP-68

{
    "name": "...",
    "image": ["ipfs://", "bafkreicoobvutqxnxodrjzyd3h72da67hc2jpuivogsehvzl6zglhnbncq"]
}

The fix involves passing the prop into the conversion method before transforming it into a source.

@Shade-of-Sorcery
Copy link

Just came across this issue too. Looks like a simple fix. Any idea how to get this merge unblocked?

Copy link

sonarcloud bot commented Mar 5, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

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