diff --git a/src/adapters/wallet.js b/src/adapters/wallet.js index 425a063..210dc2a 100644 --- a/src/adapters/wallet.js +++ b/src/adapters/wallet.js @@ -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) { diff --git a/src/use-cases/offer/index.js b/src/use-cases/offer/index.js index f0bfbc9..f5c9a71 100644 --- a/src/use-cases/offer/index.js +++ b/src/use-cases/offer/index.js @@ -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 { diff --git a/util/wallet/sweep-funds.js b/util/wallet/sweep-funds.js index b5a1534..93d8377 100644 --- a/util/wallet/sweep-funds.js +++ b/util/wallet/sweep-funds.js @@ -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 {