From ea83335fd225910b6288ae802f5f5d8f0beb7e57 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Tue, 29 Mar 2022 16:20:03 -0700 Subject: [PATCH] fix(Utxo.get()): Moving code to where it needs to be --- src/utxo.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utxo.js b/src/utxo.js index fd29d3b..cff27f3 100644 --- a/src/utxo.js +++ b/src/utxo.js @@ -126,9 +126,6 @@ class UTXO { thisUtxo.tokenId = thisSlpUtxo.tokenId thisUtxo.address = thisSlpUtxo.address - // tokenQty is property expected by SLP.tokentype1.js library - thisUtxo.tokenQty = thisUtxo.qtyStr - break } } @@ -233,6 +230,9 @@ class UTXO { 10 ** parseInt(thisUtxo.decimals) ) thisUtxo.qtyStr = qty.toString() + + // tokenQty is property expected by SLP.tokentype1.js library + thisUtxo.tokenQty = thisUtxo.qtyStr } return utxoAry