From: Ian Coleman Date: Sun, 11 Dec 2016 23:50:09 +0000 (+1100) Subject: Extended Key calculation does not use global var X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=5eaa6877bca7f220bc2364be96c8fcb7526dedbb;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git Extended Key calculation does not use global var --- diff --git a/src/js/index.js b/src/js/index.js index 5f688f0..1e66dd8 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -238,7 +238,7 @@ showValidationError(errorText); return; } - calcBip32ExtendedKey(derivationPath); + bip32ExtendedKey = calcBip32ExtendedKey(derivationPath); displayBip32Info(); hidePending(); } @@ -318,7 +318,7 @@ } function calcBip32ExtendedKey(path) { - bip32ExtendedKey = bip32RootKey; + var extendedKey = bip32RootKey; // Derive the key from the path var pathBits = path.split("/"); for (var i=0; i