handles incorrect Address derivation (#4230)

This commit is contained in:
Matias Alejo Garcia 2016-05-20 10:02:44 -03:00
commit 335c3f00af
3 changed files with 18 additions and 3 deletions

View file

@ -136,6 +136,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.isPrivKeyEncrypted = fc.isPrivKeyEncrypted();
self.externalSource = fc.getPrivKeyExternalSourceName();
self.account = fc.credentials.account;
self.incorrectDerivation = fc.incorrectDerivation;
if (self.externalSource == 'trezor')
self.account++;