Create, import join wallet BCH

This commit is contained in:
Gustavo Maximiliano Cortez 2017-08-28 12:57:32 -03:00
commit 5175e7e2c4
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
6 changed files with 44 additions and 2 deletions

View file

@ -10,6 +10,7 @@ angular.module('copayApp.controllers').controller('joinController',
$scope.formData.derivationPath = derivationPathHelper.default;
$scope.formData.account = 1;
$scope.formData.secret = null;
$scope.formData.coin = 'btc';
resetPasswordFields();
updateSeedSourceSelect();
});
@ -103,7 +104,8 @@ angular.module('copayApp.controllers').controller('joinController',
var opts = {
secret: $scope.formData.secret,
myName: $scope.formData.myName,
bwsurl: $scope.formData.bwsurl
bwsurl: $scope.formData.bwsurl,
coin: $scope.formData.coin
}
var setSeed = $scope.formData.seedSource.id == 'set';