Merge pull request #231 from Permissionless-Software-Foundation/ct-unstable

fix(tokentype1.js): Fixing bug in mint OP_RETURN
This commit is contained in:
Chris Troutner
2022-04-24 09:57:52 -07:00
committed by GitHub
+1 -1
View File
@@ -395,7 +395,7 @@ class TokenType1 {
if (!tokenId) {
throw new Error('tokenId property not found in mint-baton UTXO.')
}
if (!decimals) {
if (!decimals && decimals !== 0) {
throw new Error('decimals property not found in mint-baton UTXO.')
}