adding owner copayer base path on the public key list
This commit is contained in:
parent
f0d42780b6
commit
91496fdd01
2 changed files with 6 additions and 2 deletions
|
|
@ -56,9 +56,11 @@
|
||||||
<li class="line-b p10" ng-repeat="pk in pubKeys">
|
<li class="line-b p10" ng-repeat="pk in pubKeys">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="small-3 columns">Copayer {{$index}}</div>
|
<div class="small-3 columns">Copayer {{$index}}</div>
|
||||||
|
|
||||||
<div class="small-9 columns oh enable_text_select text-gray" style="text-overflow:ellipsis">
|
<div class="small-9 columns oh enable_text_select text-gray" style="text-overflow:ellipsis">
|
||||||
{{pk}}
|
{{pk}}
|
||||||
|
<span class="right size-12" ng-if="$index == 0">
|
||||||
|
({{basePath}})
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,15 @@ angular.module('copayApp.controllers').controller('preferencesInformation',
|
||||||
|
|
||||||
var fc = profileService.focusedClient;
|
var fc = profileService.focusedClient;
|
||||||
var c = fc.credentials;
|
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.walletName = c.walletName;
|
||||||
$scope.walletId = c.walletId;
|
$scope.walletId = c.walletId;
|
||||||
$scope.network = c.network;
|
$scope.network = c.network;
|
||||||
$scope.addressType = c.addressType || 'P2SH';
|
$scope.addressType = c.addressType || 'P2SH';
|
||||||
$scope.derivationStrategy = c.derivationStrategy || 'BIP45';
|
$scope.derivationStrategy = c.derivationStrategy || 'BIP45';
|
||||||
|
$scope.basePath = basePath;
|
||||||
$scope.M = c.m;
|
$scope.M = c.m;
|
||||||
$scope.N = c.n;
|
$scope.N = c.n;
|
||||||
$scope.pubKeys = lodash.pluck(c.publicKeyRing, 'xPubKey');
|
$scope.pubKeys = lodash.pluck(c.publicKeyRing, 'xPubKey');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue