nami
nami copied to clipboard
Bug: CIP-68 images not displayed correctly
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.