From aa898b31e7100bfa5f3e203cad008df93282ff28 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sun, 24 Apr 2022 09:54:14 -0700 Subject: [PATCH] fix(tokentype1.js): Fixing bug in mint OP_RETURN --- src/slp/tokentype1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slp/tokentype1.js b/src/slp/tokentype1.js index 6fc63fc..bb88f6d 100644 --- a/src/slp/tokentype1.js +++ b/src/slp/tokentype1.js @@ -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.') }