diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js index fce849d11..d1becafbd 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -424,10 +424,10 @@ angular.module('copayApp.services') }, function(err, secret) { if (err) return bwcError.cb(err, gettextCatalog.getString('Error creating wallet'), cb); - if (opts.bchOpts) { - opts.bchOpts.singleAddress = opts.singleAddress; - opts.bchOpts.mnemonic = walletClient.credentials.mnemonic; - root.createWallet(opts.bchOpts, null); + if (opts.btcOpts) { + opts.btcOpts.singleAddress = opts.singleAddress; + opts.btcOpts.mnemonic = walletClient.credentials.mnemonic; + root.createWallet(opts.btcOpts, null); } return cb(null, walletClient, secret); @@ -729,16 +729,16 @@ angular.module('copayApp.services') opts.m = 1; opts.n = 1; opts.networkName = 'livenet'; - opts.coin = 'btc'; - opts.bwsurl = defaults.bws.url; + opts.coin = 'bch'; + opts.bwsurl = defaults.bwscash.url; - var bchOpts = {}; - bchOpts.m = 1; - bchOpts.n = 1; - bchOpts.networkName = 'livenet'; - bchOpts.coin = 'bch'; - bchOpts.bwsurl = defaults.bwscash.url; - opts.bchOpts = bchOpts; + var btcOpts = {}; + btcOpts.m = 1; + btcOpts.n = 1; + btcOpts.networkName = 'livenet'; + btcOpts.coin = 'btc'; + btcOpts.bwsurl = defaults.bws.url; + opts.btcOpts = btcOpts; root.createWallet(opts, cb); }; diff --git a/www/views/includes/cash.html b/www/views/includes/cash.html index e54253c8f..e342709c6 100644 --- a/www/views/includes/cash.html +++ b/www/views/includes/cash.html @@ -3,7 +3,7 @@ Coin diff --git a/www/views/includes/walletSelector.html b/www/views/includes/walletSelector.html index c46608b24..6a470d598 100644 --- a/www/views/includes/walletSelector.html +++ b/www/views/includes/walletSelector.html @@ -6,37 +6,6 @@
- - Incomplete - - - {{wallet.status.availableBalanceStr}} - [Balance Hidden] - - - -
-+ + Incomplete + + + {{wallet.status.availableBalanceStr}} + [Balance Hidden] + + + +
+