diff options
author | Ian Coleman <coleman.ian@gmail.com> | 2015-08-21 08:51:18 +1000 |
---|---|---|
committer | Ian Coleman <coleman.ian@gmail.com> | 2015-08-21 08:54:06 +1000 |
commit | 2b831bc6b577f88485bb89cfcf7f94fb3f39c1d2 (patch) | |
tree | 07d11206d7c8f26bdc45ad97fb3a460ad03ffb13 /src/js/index.js | |
parent | ae30fed8037fa9d1e88e9431c4f301f1d1c53d29 (diff) | |
download | BIP39-2b831bc6b577f88485bb89cfcf7f94fb3f39c1d2.tar.gz BIP39-2b831bc6b577f88485bb89cfcf7f94fb3f39c1d2.tar.zst BIP39-2b831bc6b577f88485bb89cfcf7f94fb3f39c1d2.zip |
Derivation path set correctly when changing coins
Closes #9
Diffstat (limited to 'src/js/index.js')
-rw-r--r-- | src/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js index 2f7815d..676684b 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -135,7 +135,6 @@ | |||
135 | 135 | ||
136 | function bip44Changed() { | 136 | function bip44Changed() { |
137 | setBip44DerivationPath(); | 137 | setBip44DerivationPath(); |
138 | derivationPath = DOM.bip44path.val(); | ||
139 | derivationChanged(); | 138 | derivationChanged(); |
140 | } | 139 | } |
141 | 140 | ||
@@ -363,6 +362,7 @@ | |||
363 | path += account + "'/"; | 362 | path += account + "'/"; |
364 | path += change; | 363 | path += change; |
365 | DOM.bip44path.val(path); | 364 | DOM.bip44path.val(path); |
365 | derivationPath = DOM.bip44path.val(); | ||
366 | } | 366 | } |
367 | 367 | ||
368 | function parseIntNoNaN(val, defaultVal) { | 368 | function parseIntNoNaN(val, defaultVal) { |