add a testnet switch when importing mnemonics

This commit is contained in:
Gabriel Bazán 2016-06-15 10:24:46 -03:00
commit 00dba11d4b
3 changed files with 18 additions and 1 deletions

View file

@ -3,7 +3,9 @@
angular.module('copayApp.services').factory('derivationPathHelper', function(lodash) {
var root = {};
root.default = "m/44'/0'/0'"
root.default = "m/44'/0'/0'";
root.defaultTestnet = "m/44'/1'/0'";
root.parse = function(str) {
var arr = str.split('/');