Fix wallet information. Fix Spending restriction options

This commit is contained in:
Gustavo Maximiliano Cortez 2015-10-20 18:08:02 -03:00
commit 9bcf014694
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 13 additions and 12 deletions

View file

@ -7,7 +7,7 @@ angular.module('copayApp.controllers').controller('preferencesInformation',
this.init = function() {
var fc = profileService.focusedClient;
var c = fc.credentials;
var basePath = profileService.getUtils().PATHS.BASE_ADDRESS_DERIVATION[c.derivationStrategy][c.network];
var basePath = profileService.getUtils().getBaseAddressDerivationPath(c.derivationStrategy, c.network, 0);
$scope.walletName = c.walletName;
$scope.walletId = c.walletId;