switch between btc and bch service url when switching coins

This commit is contained in:
Kadir Sekha 2017-10-26 17:36:01 +09:00
commit 93bb167766
4 changed files with 18 additions and 4 deletions

View file

@ -74,6 +74,10 @@ angular.module('copayApp.controllers').controller('importController',
});
};
$scope.coinChanged = function() {
$scope.formData.bwsurl = $scope.formData.coin == 'btc' ? defaults.bws.url : defaults.bwscash.url;
}
$scope.processWalletInfo = function(code) {
if (!code) return;