nami icon indicating copy to clipboard operation
nami copied to clipboard

Bug: CIP-68 images not displayed correctly

Open Felippo001 opened this issue 2 years ago • 2 comments
trafficstars

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.

Felippo001 avatar Oct 18 '23 09:10 Felippo001