liftedinit / many-js

JavaScript implementation of the MANY protocol
Apache License 2.0
5 stars 7 forks source link

fix: Token Creation response #92

Closed stanleyjones closed 1 year ago

stanleyjones commented 1 year ago

ManyJS was doing this:

tokens.create@return = token-info

But this is correct:

tokens.create@return = {
    0 => token-info,
}

See https://github.com/many-protocol/specification/blob/main/attributes/network/cddl/11_ledger_tokens.cddl#L109