From ddc8e877473f60233f3d80bf19decdd31175b07f Mon Sep 17 00:00:00 2001 From: Robert Johnson Date: Mon, 29 Sep 2014 22:47:01 -0500 Subject: [PATCH] allow for address change, while still allowing use of BIP44. --- src/index.html | 11 +++++++++++ src/js/index.js | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 837c735..695570f 100644 --- a/src/index.html +++ b/src/index.html @@ -205,6 +205,17 @@

Derived Addresses

Note these addreses are derived from the BIP32 Extended Key

+
+ +
+ +
+
diff --git a/src/js/index.js b/src/js/index.js index 09bcdd9..24456bb 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -16,6 +16,7 @@ DOM.network = $(".network"); DOM.phraseNetwork = $("#network-phrase"); DOM.bip44Network = $("#network-bip44"); + DOM.addressNetwork = $("#network-address-type"); DOM.phrase = $(".phrase"); DOM.passphrase = $(".passphrase"); DOM.generate = $(".generate"); @@ -89,10 +90,13 @@ } else if (n == "dogecoin") { network = Bitcoin.networks.dogecoin; - disableBip44Tab(); + //disableBip44Tab(); } DOM.phraseNetwork.val(n); DOM.bip44Network.val(n); + if(e.target != DOM.addressNetwork.dom){ + DOM.addressNetwork.val(n); + } delayedPhraseChanged(); } -- 2.41.0