From f0716ddbd3ec3bbe4ac5d892a64441e1aecc76c8 Mon Sep 17 00:00:00 2001 From: Lyuboslav Kanev Date: Tue, 6 Aug 2019 18:21:30 +0300 Subject: [PATCH] Add support for the standard BCH derivation path Don't fail when derivation path m/44'/145'/* is chosen, as it's the standard Bitcoin Cash derivation path, as defined here https://github.com/satoshilabs/slips/blob/master/slip-0044.md --- src/js/services/derivationPathHelper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/services/derivationPathHelper.js b/src/js/services/derivationPathHelper.js index 8e9b7151c..84bba0f3e 100644 --- a/src/js/services/derivationPathHelper.js +++ b/src/js/services/derivationPathHelper.js @@ -34,6 +34,7 @@ angular.module('copayApp.services').factory('derivationPathHelper', function(lod switch (arr[2]) { case "0'": + case "145'": ret.networkName = 'livenet'; break; case "1'":