Adding more debugging

This commit is contained in:
Chris Troutner
2022-03-26 18:07:41 -07:00
parent 881a882175
commit 95e66efc2f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ class WalletAdapter {
// Wait for wallet to initialize.
await this.bchWallet.walletInfoPromise
console.log('BCH wallet initialized.')
console.log(`BCH wallet initialized. Wallet address: ${this.bchWallet.walletInfo.cashAddress}`)
return this.bchWallet
} catch (err) {
+1 -1
View File
@@ -230,7 +230,7 @@ class OfferUseCases {
return true
} catch (err) {
console.error('Error in ensureFunds()')
console.error('Error in offer/index.js/ensureFunds()')
// Debugging
try {
+1 -1
View File
@@ -14,7 +14,7 @@ const BchTokenSweep = require('bch-token-sweep/index')
const WalletAdapter = require('../../src/adapters/wallet')
// Constants
const EMTPY_ADDR_CUTOFF = 5
const EMTPY_ADDR_CUTOFF = 15
async function sweepFunds () {
try {