@psf/bch-js 6.2.6 → 6.2.7

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.6",
3
+ "version": "6.2.7",
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": [
@@ -379,7 +379,7 @@ class TokenType1 {
379
379
  // Loop through the tokenUtxos array and find the minting baton.
380
380
  let mintBatonUtxo
381
381
  for (let i = 0; i < tokenUtxos.length; i++) {
382
- if (tokenUtxos[i].utxoType === 'minting-baton') {
382
+ if (tokenUtxos[i].utxoType === 'minting-baton' || tokenUtxos[i].type === 'baton') {
383
383
  mintBatonUtxo = tokenUtxos[i]
384
384
  }
385
385
  }