]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Use correct BIP44 value for Denarius of 116, not 0
authorIan Coleman <ian@iancoleman.io>
Mon, 12 Mar 2018 00:41:35 +0000 (11:41 +1100)
committerIan Coleman <ian@iancoleman.io>
Mon, 12 Mar 2018 00:41:35 +0000 (11:41 +1100)
See https://github.com/satoshilabs/slips/blob/master/slip-0044.md

src/js/index.js
tests/spec/tests.js

index 36af5782a2f511f9798b134f57c12600b087ce82..3f1cf3c4d35405b7ec2c53cddc1cdb6ea8047ab1 100644 (file)
             segwitAvailable: false,
             onSelect: function() {
                 network = bitcoinjs.bitcoin.networks.denarius;
-                setHdCoin(0);
+                setHdCoin(116);
             },
         },
         {
index c7a988944741acb70edec4422063e5febce71323..0944be4bbe8e4b4f6b1e59b290b8ad28b7fc2a2e 100644 (file)
@@ -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);
 });