From 91496fdd01aacc79ba0a0424c950d07dedd2db26 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 29 Sep 2015 15:16:54 -0300 Subject: [PATCH] adding owner copayer base path on the public key list --- public/views/preferencesInformation.html | 4 +++- src/js/controllers/preferencesInformation.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/views/preferencesInformation.html b/public/views/preferencesInformation.html index 6975c899e..08266c220 100644 --- a/public/views/preferencesInformation.html +++ b/public/views/preferencesInformation.html @@ -56,9 +56,11 @@
  • Copayer {{$index}}
    -
    {{pk}} + + ({{basePath}}) +
  • diff --git a/src/js/controllers/preferencesInformation.js b/src/js/controllers/preferencesInformation.js index 1dd4c3a64..91c9f21eb 100644 --- a/src/js/controllers/preferencesInformation.js +++ b/src/js/controllers/preferencesInformation.js @@ -5,13 +5,15 @@ angular.module('copayApp.controllers').controller('preferencesInformation', var fc = profileService.focusedClient; var c = fc.credentials; - var base = 'xpub' + var base = 'xpub'; + var basePath = profileService.getUtils().PATHS.BASE_ADDRESS_DERIVATION[c.derivationStrategy][c.network]; $scope.walletName = c.walletName; $scope.walletId = c.walletId; $scope.network = c.network; $scope.addressType = c.addressType || 'P2SH'; $scope.derivationStrategy = c.derivationStrategy || 'BIP45'; + $scope.basePath = basePath; $scope.M = c.m; $scope.N = c.n; $scope.pubKeys = lodash.pluck(c.publicKeyRing, 'xPubKey');