@psf/bch-js 6.7.1 → 6.7.2
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 +1 -1
- package/src/blockchain.js +3 -0
- package/src/electrumx.js +2 -0
package/package.json
CHANGED
package/src/blockchain.js
CHANGED
|
@@ -197,6 +197,9 @@ class Blockchain {
|
|
|
197
197
|
)
|
|
198
198
|
return response.data
|
|
199
199
|
} catch (error) {
|
|
200
|
+
console.log('Error in bch-js/blockchain.js/getBlockCount()')
|
|
201
|
+
console.log('blockchain.js restURL: ', this.restURL)
|
|
202
|
+
|
|
200
203
|
if (error.response && error.response.data) throw error.response.data
|
|
201
204
|
else throw error
|
|
202
205
|
}
|
package/src/electrumx.js
CHANGED