Merge pull request #9 from christroutner/unstable

fix(SLP): Passing API tokens to SLP library
This commit is contained in:
Chris Troutner
2020-02-25 09:59:35 -08:00
committed by GitHub
+2
View File
@@ -1108,6 +1108,8 @@ class Utils {
// https://github.com/Bitcoin-com/slp-sdk/issues/84
async tokenUtxoDetails(utxos) {
try {
console.log(`tokenUtxoDetails, apiToken: ${_this.apiToken}`)
// Throw error if input is not an array.
if (!Array.isArray(utxos)) throw new Error(`Input must be an array.`)