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

Commit

Permalink
fix(Wallet): use private key validation function that can detect testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Thore3 committed Nov 2, 2016
1 parent 156e04c commit f6fee4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/services/wallet.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f6fee4a

Please sign in to comment.