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. // Wait for wallet to initialize.
await this.bchWallet.walletInfoPromise await this.bchWallet.walletInfoPromise
console.log('BCH wallet initialized.') console.log(`BCH wallet initialized. Wallet address: ${this.bchWallet.walletInfo.cashAddress}`)
return this.bchWallet return this.bchWallet
} catch (err) { } catch (err) {
+1 -1
View File
@@ -230,7 +230,7 @@ class OfferUseCases {
return true return true
} catch (err) { } catch (err) {
console.error('Error in ensureFunds()') console.error('Error in offer/index.js/ensureFunds()')
// Debugging // Debugging
try { try {
+1 -1
View File
@@ -14,7 +14,7 @@ const BchTokenSweep = require('bch-token-sweep/index')
const WalletAdapter = require('../../src/adapters/wallet') const WalletAdapter = require('../../src/adapters/wallet')
// Constants // Constants
const EMTPY_ADDR_CUTOFF = 5 const EMTPY_ADDR_CUTOFF = 15
async function sweepFunds () { async function sweepFunds () {
try { try {