From: iancoleman Date: Tue, 22 Aug 2017 23:30:43 +0000 (+1000) Subject: Merge pull request #92 from jonspock/master X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=commitdiff_plain;h=e40acc3ab0e78ca3a9b63d0b1c9e16f804da104e;hp=56ad960105f082e958154c24ad49d25c1db2f4be Merge pull request #92 from jonspock/master Add maza coin, update PIVX in bip39-standalone.html --- diff --git a/bip39-standalone.html b/bip39-standalone.html index c828bdc..f183777 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -118,7 +118,7 @@

Mnemonic Code Converter

-

v0.2.1

+

v0.2.2


@@ -46272,6 +46272,10 @@ window.Entropy = new (function() { function delayedPhraseChanged() { hideValidationError(); + seed = null; + bip32RootKey = null; + bip32ExtendedKey = null; + clearAddressesList(); showPending(); if (phraseChangeTimeoutEvent != null) { clearTimeout(phraseChangeTimeoutEvent); @@ -46281,7 +46285,6 @@ window.Entropy = new (function() { function phraseChanged() { showPending(); - hideValidationError(); setMnemonicLanguage(); // Get the mnemonic phrase var phrase = DOM.phrase.val(); @@ -46294,7 +46297,6 @@ window.Entropy = new (function() { var passphrase = DOM.passphrase.val(); calcBip32RootKeyFromSeed(phrase, passphrase); calcForDerivationPath(); - hidePending(); } function delayedEntropyChanged() { @@ -46370,10 +46372,9 @@ window.Entropy = new (function() { } function calcForDerivationPath() { - showPending(); clearDerivedKeys(); clearAddressesList(); - hideValidationError(); + showPending(); // Don't show bip49 if it's selected but network doesn't support it if (bip49TabSelected() && !networkHasBip49()) { return; @@ -46393,7 +46394,6 @@ window.Entropy = new (function() { displayBip49Info(); } displayBip32Info(); - hidePending(); } function generateClicked() { @@ -46700,17 +46700,19 @@ window.Entropy = new (function() { for (var i=0; i

Mnemonic Code Converter

-

v0.2.1

+

v0.2.2


diff --git a/src/js/index.js b/src/js/index.js index 79f4e4c..3a5a0ef 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -175,6 +175,10 @@ function delayedPhraseChanged() { hideValidationError(); + seed = null; + bip32RootKey = null; + bip32ExtendedKey = null; + clearAddressesList(); showPending(); if (phraseChangeTimeoutEvent != null) { clearTimeout(phraseChangeTimeoutEvent); @@ -184,7 +188,6 @@ function phraseChanged() { showPending(); - hideValidationError(); setMnemonicLanguage(); // Get the mnemonic phrase var phrase = DOM.phrase.val(); @@ -197,7 +200,6 @@ var passphrase = DOM.passphrase.val(); calcBip32RootKeyFromSeed(phrase, passphrase); calcForDerivationPath(); - hidePending(); } function delayedEntropyChanged() { @@ -273,10 +275,9 @@ } function calcForDerivationPath() { - showPending(); clearDerivedKeys(); clearAddressesList(); - hideValidationError(); + showPending(); // Don't show bip49 if it's selected but network doesn't support it if (bip49TabSelected() && !networkHasBip49()) { return; @@ -296,7 +297,6 @@ displayBip49Info(); } displayBip32Info(); - hidePending(); } function generateClicked() { @@ -603,17 +603,19 @@ for (var i=0; i