debugging bchjs restURL

This commit is contained in:
Chris Troutner
2024-08-19 19:33:19 -07:00
parent 57f49ff31f
commit e8d0f1fcb8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -65,6 +65,7 @@ class Adapters {
console.log('\nCreating default startup wallet. This wallet may be overwritten.')
await this.wallet.instanceWalletWithoutInitialization({}, { apiToken })
this.bchjs = this.wallet.bchWallet.bchjs
console.log('adapters/index.js this.bchjs.restURL: ', this.bchjs.restURL)
// Start the IPFS node.
// Do not start these adapters if this is an e2e test.
+1 -1
View File
@@ -111,7 +111,7 @@ class BCHUseCases {
for (let i = 0; i < txids.length; i++) {
const thisTxid = txids[i]
// console.log(`this.bchjs.restURL: ${this.bchjs.restURL}`)
console.log(`this.bchjs.restURL: ${this.bchjs.restURL}`)
const data = await this.bchjs.Transaction.get(thisTxid.toString())
// console.log(`data: ${JSON.stringify(data, null, 2)}`)