WIP trezor 48

This commit is contained in:
Matias Alejo Garcia 2015-11-04 00:53:26 -03:00
commit d1c1638b14
7 changed files with 141 additions and 104 deletions

View file

@ -47,9 +47,9 @@ angular.module('copayApp.controllers').controller('joinController',
if (form.hwLedger.$modelValue || form.hwTrezor.$modelValue) {
self.hwWallet = form.hwLedger.$modelValue ? 'Ledger' : 'TREZOR';
var src = form.hwLedger.$modelValue ? ledger : trezor;
var account = form.account.$modelValue;
var account = 0;
src.getInfoForNewWallet(account, function(err, lopts) {
src.getInfoForNewWallet(true, account, function(err, lopts) {
self.hwWallet = false;
if (err) {
self.error = err;