lace icon indicating copy to clipboard operation
lace copied to clipboard

memo incorrectly encoded in metadata

Open matbech opened this issue 1 year ago • 0 comments

The memo is incorrectly encoded as a single string in the meta data (msg). However, per specification in CIP-20: "The message content has the key "msg": and consists of an array of individual message-strings. " Reference: https://github.com/cardano-foundation/CIPs/blob/master/CIP-0020/README.md

Expected result:

{
  "674":
         {
           "msg":
                  [
                    "memo"
                  ]
         }
}

Actual result:

{
  "674":
         {
           "msg": "memo"
         }
}

matbech avatar Mar 25 '24 06:03 matbech