fixes error when mnemonic is empty
This commit is contained in:
parent
0a8f1acbe2
commit
70eb80aae8
4 changed files with 6 additions and 6 deletions
|
|
@ -636,6 +636,7 @@ angular.module('copayApp.services')
|
|||
};
|
||||
|
||||
root._normalizeMnemonic = function(words) {
|
||||
if (!words || !words.indexOf) return words;
|
||||
var isJA = words.indexOf('\u3000') > -1;
|
||||
var wordList = words.split(/[\u3000\s]+/);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue