fix(tokentype1.js): Fixing bug in mint OP_RETURN

This commit is contained in:
Chris Troutner
2022-04-24 09:54:14 -07:00
parent f7ba6bb3ae
commit aa898b31e7
+1 -1
View File
@@ -395,7 +395,7 @@ class TokenType1 {
if (!tokenId) { if (!tokenId) {
throw new Error('tokenId property not found in mint-baton UTXO.') 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.') throw new Error('decimals property not found in mint-baton UTXO.')
} }