diff options
Diffstat (limited to 'src/js/index.js')
-rw-r--r-- | src/js/index.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js index 8f7d658..5cd09b6 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -207,7 +207,7 @@ | |||
207 | } | 207 | } |
208 | 208 | ||
209 | function calcBip32RootKeyFromBase58(rootKeyBase58) { | 209 | function calcBip32RootKeyFromBase58(rootKeyBase58) { |
210 | bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58); | 210 | bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58, network); |
211 | } | 211 | } |
212 | 212 | ||
213 | function calcBip32ExtendedKey(path) { | 213 | function calcBip32ExtendedKey(path) { |
@@ -580,6 +580,13 @@ | |||
580 | DOM.bip44coin.val(23); | 580 | DOM.bip44coin.val(23); |
581 | }, | 581 | }, |
582 | }, | 582 | }, |
583 | { | ||
584 | name: "DASH", | ||
585 | onSelect: function() { | ||
586 | network = bitcoin.networks.dash; | ||
587 | DOM.bip44coin.val(5); | ||
588 | }, | ||
589 | }, | ||
583 | ] | 590 | ] |
584 | 591 | ||
585 | init(); | 592 | init(); |