X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fjs%2Findex.js;h=676684b69efe35bb93202079a9be062d1e8f4040;hb=2b831bc6b577f88485bb89cfcf7f94fb3f39c1d2;hp=d0533f91990f68cb88ee8bdbd1ddf4d97bdcffd3;hpb=a3baa26e61a357b96c7b76f50689ff9cd0f75a02;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/src/js/index.js b/src/js/index.js index d0533f9..676684b 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -135,7 +135,6 @@ function bip44Changed() { setBip44DerivationPath(); - derivationPath = DOM.bip44path.val(); derivationChanged(); } @@ -325,7 +324,8 @@ var addressCell = row.find(".address span"); var privkeyCell = row.find(".privkey span"); // Content - indexCell.text(index); + var indexText = derivationPath + "/" + index; + indexCell.text(indexText); addressCell.text(address); privkeyCell.text(privkey); // Visibility @@ -362,6 +362,7 @@ path += account + "'/"; path += change; DOM.bip44path.val(path); + derivationPath = DOM.bip44path.val(); } function parseIntNoNaN(val, defaultVal) {