From 502898819506605c2b58821285c20054b999a8a7 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Mon, 12 Mar 2018 11:41:35 +1100 Subject: [PATCH] Use correct BIP44 value for Denarius of 116, not 0 See https://github.com/satoshilabs/slips/blob/master/slip-0044.md --- src/js/index.js | 2 +- tests/spec/tests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }); -- 2.41.0