Skip to content

Refactor NftId #1806

Description

@mustafauzunn

Java (NftId.java:41) and JS (js/src/token/NftId.js:29) accept both token/serial and token@serial, and emit token/serial. Go accepts only @ and panics on a malformed string rather than returning an error (nft_id.go:22, 25, 62). Go cannot parse the string form Java/JS produce, and bad input crashes the process.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions