From f6fee4a1ec01e36278eb434701e7ab468ab6e3db Mon Sep 17 00:00:00 2001 From: Justin Tormey Date: Wed, 2 Nov 2016 15:00:09 -0400 Subject: [PATCH] fix(Wallet): use private key validation function that can detect testnet --- assets/js/services/wallet.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/services/wallet.service.js b/assets/js/services/wallet.service.js index 5fe9e0876c..66ec405604 100644 --- a/assets/js/services/wallet.service.js +++ b/assets/js/services/wallet.service.js @@ -686,7 +686,7 @@ function Wallet ($http, $window, $timeout, $location, $injector, Alerts, MyWalle }; wallet.isValidAddress = (address) => MyWalletHelpers.isBitcoinAddress(address); - wallet.isValidPrivateKey = (priv) => MyWalletHelpers.isBitcoinPrivateKey(priv); + wallet.isValidPrivateKey = (priv) => MyWalletHelpers.isValidPrivateKey(priv); wallet.archive = (address_or_account) => { wallet.saveActivity(3);