WIP: ledger P2PKH

This commit is contained in:
Matias Alejo Garcia 2015-09-11 15:43:42 -03:00
commit 78e6120e55
11 changed files with 74 additions and 32 deletions

View file

@ -17,7 +17,8 @@ angular.module('copayApp.controllers').controller('preferencesController',
if (fc) {
$scope.encrypt = fc.hasPrivKeyEncrypted();
this.externalSource = fc.getPrivKeyExternalSourceName() == 'ledger' ? "Ledger" : null;
this.externalIndex = fc.getExternalIndex();
// TODO externalAccount
//this.externalIndex = fc.getExternalIndex();
}
var unwatchSpendUnconfirmed = $scope.$watch('spendUnconfirmed', function(newVal, oldVal) {