diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js index e4d3f978e..0a4dd20da 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -75,9 +75,8 @@ angular.module('copayApp.services') // Convert tarascash style bch wallet to copay style function convertToNewCashWallet(wallet) { - //var baseUrl = bwcService.getClient(null, null).baseUrl; - var baseUrl = 'https://bws-v2.bitcoin.com/bws/api'; - wallet.baseUrl = baseUrl; + var defaults = configService.getDefaults(); + wallet.baseUrl = defaults.bwscash.url; wallet.credentials.coin = 'bch'; wallet.credentials.network = 'livenet'; }