mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-21 16:51:59 -07:00
Merge pull request #9 from christroutner/unstable
fix(SLP): Passing API tokens to SLP library
This commit is contained in:
@@ -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.`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user