Closed
Description
"If the UTXO includes a non-fungible token with a zero-byte commitment, push 0x00. If the UTXO does not include a non-fungible token, push a 0 (VM Number)."
If we encode a 1-byte commitment that encodes a commitment[0]=0x00
it would result in the same 0x00 value being pushed to the stack.
Suggestion: push an empty stack item in both no-NFT and no-commitment cases, and the user should check the capability to distinguish no-NFT from no-commitment.
Metadata
Metadata
Assignees
Labels
No labels