mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-27 21:00:41 +00:00
Add test for Pull Request 279 split phrase cards
This commit is contained in:
+1
-2
@@ -264,6 +264,7 @@
|
||||
calcForDerivationPath();
|
||||
// Show the word indexes
|
||||
showWordIndexes();
|
||||
writeSplitPhrase(phrase);
|
||||
}
|
||||
|
||||
function tabChanged() {
|
||||
@@ -432,7 +433,6 @@
|
||||
if (DOM.phrase.val().length > 0) {
|
||||
var newPhrase = convertPhraseToNewLanguage();
|
||||
DOM.phrase.val(newPhrase);
|
||||
writeSplitPhrase(newPhrase);
|
||||
phraseChanged();
|
||||
}
|
||||
else {
|
||||
@@ -493,7 +493,6 @@
|
||||
// show the words
|
||||
var words = mnemonic.toMnemonic(data);
|
||||
DOM.phrase.val(words);
|
||||
writeSplitPhrase(words);
|
||||
// show the entropy
|
||||
var entropyHex = uint8ArrayToHex(data);
|
||||
DOM.entropy.val(entropyHex);
|
||||
|
||||
Reference in New Issue
Block a user