From: Ian Coleman Date: Mon, 12 Mar 2018 00:41:35 +0000 (+1100) Subject: Use correct BIP44 value for Denarius of 116, not 0 X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=commitdiff_plain;h=502898819506605c2b58821285c20054b999a8a7 Use correct BIP44 value for Denarius of 116, not 0 See https://github.com/satoshilabs/slips/blob/master/slip-0044.md --- diff --git a/src/js/index.js b/src/js/index.js index 36af578..3f1cf3c 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -1600,7 +1600,7 @@ segwitAvailable: false, onSelect: function() { network = bitcoinjs.bitcoin.networks.denarius; - setHdCoin(0); + setHdCoin(116); }, }, { diff --git a/tests/spec/tests.js b/tests/spec/tests.js index c7a9889..0944be4 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js @@ -426,7 +426,7 @@ it('Allows selection of dogecoin', function(done) { it('Allows selection of denarius', function(done) { var params = { selectText: "DNR - Denarius", - firstAddress: "D9feDKo88SHir79b2Kqhk7JAtaddmxDjNV", + firstAddress: "DFdFMVUMzU9xX88EywXvAGwjiwpxyh9vKb", }; testNetwork(done, params); });