diff --git a/app/scripts/controllers/decryptWalletCtrl.js b/app/scripts/controllers/decryptWalletCtrl.js index 83be24980c..4088da744d 100644 --- a/app/scripts/controllers/decryptWalletCtrl.js +++ b/app/scripts/controllers/decryptWalletCtrl.js @@ -35,6 +35,7 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { hwRskPath: "m/44'/137'/0'/0", // first address : m/44'/137'/0'/0/0 goPath: "m/44'/6060'/0'/0", // first address: m/44'/6060'/0'/0/0 hwEOSClassicPath: "m/44'/2018'/0'/0", // first address: m/44'/2018'/0'/0/0 + hwESNetworkPath: "m/44'/31102'/0'/0", // first address: m/44'/31102'/0'/0/0 }; $scope.HDWallet.dPath = $scope.HDWallet.defaultDPath; $scope.mnemonicModel = new Modal(document.getElementById('mnemonicModel')); @@ -113,6 +114,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.EOSC: $scope.HDWallet.dPath = $scope.HDWallet.hwEOSClassicPath; break; + case nodes.nodeTypes.ESN: + $scope.HDWallet.dPath = $scope.HDWallet.hwESNetworkPath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.trezorPath; } @@ -157,6 +161,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.EOSC: $scope.HDWallet.dPath = $scope.HDWallet.hwEOSClassicPath; break; + case nodes.nodeTypes.ESN: + $scope.HDWallet.dPath = $scope.HDWallet.hwESNetworkPath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.defaultDPath; } diff --git a/app/scripts/directives/walletDecryptDrtv.html b/app/scripts/directives/walletDecryptDrtv.html index afb17ed5a0..4bc1575280 100644 --- a/app/scripts/directives/walletDecryptDrtv.html +++ b/app/scripts/directives/walletDecryptDrtv.html @@ -47,7 +47,7 @@