Tests for passphrase and coin selection

This commit is contained in:
Ian Coleman
2016-08-23 16:16:41 +10:00
parent 1975bfbc2b
commit 54563907c7
4 changed files with 92 additions and 30 deletions
+8 -3
View File
@@ -72,9 +72,14 @@
// Event handlers
function networkChanged(e) {
var network = e.target.value;
networks[network].onSelect();
displayBip32Info();
var networkIndex = e.target.value;
networks[networkIndex].onSelect();
if (seed != null) {
phraseChanged();
}
else {
rootKeyChanged();
}
}
function delayedPhraseChanged() {