Fix btc/bch icons. Adds coin param to createWallet method

This commit is contained in:
Gustavo Maximiliano Cortez 2017-08-27 18:00:39 -03:00
commit ac5ede702d
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
20 changed files with 36 additions and 20 deletions

View file

@ -27,6 +27,7 @@ angular.module('copayApp.controllers').controller('createController',
$scope.formData.bwsurl = defaults.bws.url;
$scope.TCValues = lodash.range(2, defaults.limits.totalCopayers + 1);
$scope.formData.derivationPath = derivationPathHelper.default;
$scope.formData.coin = 'btc';
$scope.setTotalCopayers(tc);
updateRCSelect(tc);
resetPasswordFields();
@ -137,6 +138,7 @@ angular.module('copayApp.controllers').controller('createController',
bwsurl: $scope.formData.bwsurl,
singleAddress: $scope.formData.singleAddressEnabled,
walletPrivKey: $scope.formData._walletPrivKey, // Only for testing
coin: $scope.formData.coin
};
var setSeed = $scope.formData.seedSource.id == 'set';