@psf/bch-js 6.2.2 → 6.2.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/utxo.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@psf/bch-js",
3
- "version": "6.2.2",
3
+ "version": "6.2.3",
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": [
package/src/utxo.js CHANGED
@@ -126,9 +126,6 @@ class UTXO {
126
126
  thisUtxo.tokenId = thisSlpUtxo.tokenId
127
127
  thisUtxo.address = thisSlpUtxo.address
128
128
 
129
- // tokenQty is property expected by SLP.tokentype1.js library
130
- thisUtxo.tokenQty = thisUtxo.qyStr
131
-
132
129
  break
133
130
  }
134
131
  }
@@ -233,6 +230,9 @@ class UTXO {
233
230
  10 ** parseInt(thisUtxo.decimals)
234
231
  )
235
232
  thisUtxo.qtyStr = qty.toString()
233
+
234
+ // tokenQty is property expected by SLP.tokentype1.js library
235
+ thisUtxo.tokenQty = thisUtxo.qtyStr
236
236
  }
237
237
 
238
238
  return utxoAry