@psf/bch-js 6.2.8 → 6.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@psf/bch-js",
3
- "version": "6.2.8",
3
+ "version": "6.2.9",
4
4
  "description": "A JavaScript library for working with Bitcoin Cash, eCash, and SLP Tokens",
5
5
  "author": "Chris Troutner <chris.troutner@gmail.com>",
6
6
  "contributors": [
@@ -395,7 +395,7 @@ class TokenType1 {
395
395
  if (!tokenId) {
396
396
  throw new Error('tokenId property not found in mint-baton UTXO.')
397
397
  }
398
- if (!decimals) {
398
+ if (!decimals && decimals !== 0) {
399
399
  throw new Error('decimals property not found in mint-baton UTXO.')
400
400
  }
401
401