]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - src/js/index.js
Derivation path set correctly when changing coins
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / src / js / index.js
index 2f7815d540b9b2fc48f724561a20319e11d6ba1f..676684b69efe35bb93202079a9be062d1e8f4040 100644 (file)
 
     function bip44Changed() {
         setBip44DerivationPath();
-        derivationPath = DOM.bip44path.val();
         derivationChanged();
     }
 
         path += account + "'/";
         path += change;
         DOM.bip44path.val(path);
+        derivationPath = DOM.bip44path.val();
     }
 
     function parseIntNoNaN(val, defaultVal) {