Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
decryptWalletCtrl: select Akroma's HD Derivation path
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrufky committed Aug 3, 2018
1 parent c28661c commit b2d5fa3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/scripts/controllers/decryptWalletCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) {
case nodes.nodeTypes.POA:
$scope.HDWallet.dPath = $scope.HDWallet.ledgerPath;
break;
case nodes.nodeTypes.AKROMA:
$scope.HDWallet.dPath = $scope.HDWallet.hwAkromaPath;
break;
default:
$scope.HDWallet.dPath = $scope.HDWallet.ledgerPath;
}
Expand Down Expand Up @@ -110,7 +113,7 @@ var decryptWalletCtrl = function($scope, $sce, walletService) {
case nodes.nodeTypes.EOSC:
$scope.HDWallet.dPath = $scope.HDWallet.hwEOSClassicPath;
break;
case nodes.nodeTypes.Akroma:
case nodes.nodeTypes.AKROMA:
$scope.HDWallet.dPath = $scope.HDWallet.hwAkromaPath;
break;
case nodes.nodeTypes.ESN:
Expand Down Expand Up @@ -157,6 +160,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) {
case nodes.nodeTypes.EOSC:
$scope.HDWallet.dPath = $scope.HDWallet.hwEOSClassicPath;
break;
case nodes.nodeTypes.AKROMA:
$scope.HDWallet.dPath = $scope.HDWallet.hwAkromaPath;
break;
case nodes.nodeTypes.ESN:
$scope.HDWallet.dPath = $scope.HDWallet.hwESNetworkPath;
break;
Expand Down

0 comments on commit b2d5fa3

Please sign in to comment.