diff --git a/app/scripts/controllers/decryptWalletCtrl.js b/app/scripts/controllers/decryptWalletCtrl.js index caf4f82437..fdc80b2188 100644 --- a/app/scripts/controllers/decryptWalletCtrl.js +++ b/app/scripts/controllers/decryptWalletCtrl.js @@ -33,6 +33,7 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { singularDTVPath: "m/0'/0'/0'", // first address: m/0'/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')); @@ -108,6 +109,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; } @@ -149,6 +153,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 ecefb6f2d8..e1b90bde19 100644 --- a/app/scripts/directives/walletDecryptDrtv.html +++ b/app/scripts/directives/walletDecryptDrtv.html @@ -35,7 +35,7 @@