mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.git
synced 2026-09-21 16:52:03 -07:00
debugging bchjs restURL
This commit is contained in:
@@ -65,6 +65,7 @@ class Adapters {
|
|||||||
console.log('\nCreating default startup wallet. This wallet may be overwritten.')
|
console.log('\nCreating default startup wallet. This wallet may be overwritten.')
|
||||||
await this.wallet.instanceWalletWithoutInitialization({}, { apiToken })
|
await this.wallet.instanceWalletWithoutInitialization({}, { apiToken })
|
||||||
this.bchjs = this.wallet.bchWallet.bchjs
|
this.bchjs = this.wallet.bchWallet.bchjs
|
||||||
|
console.log('adapters/index.js this.bchjs.restURL: ', this.bchjs.restURL)
|
||||||
|
|
||||||
// Start the IPFS node.
|
// Start the IPFS node.
|
||||||
// Do not start these adapters if this is an e2e test.
|
// Do not start these adapters if this is an e2e test.
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ class BCHUseCases {
|
|||||||
for (let i = 0; i < txids.length; i++) {
|
for (let i = 0; i < txids.length; i++) {
|
||||||
const thisTxid = txids[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())
|
const data = await this.bchjs.Transaction.get(thisTxid.toString())
|
||||||
// console.log(`data: ${JSON.stringify(data, null, 2)}`)
|
// console.log(`data: ${JSON.stringify(data, null, 2)}`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user