fix(getPubKey): Debugging errors with getPubKey()

This commit is contained in:
Chris Troutner
2023-04-08 12:17:40 -07:00
parent 2e04548ade
commit af7c8ffa6d
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -197,6 +197,9 @@ class Blockchain {
) )
return response.data return response.data
} catch (error) { } catch (error) {
console.log('Error in bch-js/blockchain.js/getBlockCount()')
console.log('blockchain.js restURL: ', this.restURL)
if (error.response && error.response.data) throw error.response.data if (error.response && error.response.data) throw error.response.data
else throw error else throw error
} }
+2
View File
@@ -720,6 +720,8 @@ class ElectrumX {
return this.sortConfTxs(modifiedTxs, sortingOrder) return this.sortConfTxs(modifiedTxs, sortingOrder)
} catch (err) { } catch (err) {
console.log('Error in util.js/sort0ConfTxs') console.log('Error in util.js/sort0ConfTxs')
console.log('electrumx.js restURL: ', this.restURL)
throw err throw err
} }
} }