Fixing typo with web3 wallet

This commit is contained in:
Chris Troutner
2024-03-23 17:23:07 -07:00
parent 6a4aadde8a
commit 48484ed7af
+1 -3
View File
@@ -46,7 +46,7 @@ class Wallet {
} else {
// By default use the web3 Cash Stack (https://cashstack.info)
advancedConfig.interface = 'consumer-api'
advancedConfig.restURL = this.config.consumerUrl
advancedConfig.restURL = this.config.apiServer
}
console.log('advancedConfig setting when creating wallet: ', advancedConfig)
@@ -84,8 +84,6 @@ class Wallet {
const wallet = new this.BchWallet(mnemonic, config)
await wallet.walletInfoPromise
console.log('_instanceWallet() wallet.bchjs.restURL: ', wallet.bchjs.restURL)
return wallet
}