mirror of https://github.com/status-im/bip39.git
standard: use === over ==
This commit is contained in:
parent
a9d140a004
commit
c53b825116
2
index.js
2
index.js
|
@ -83,7 +83,7 @@ function entropyToMnemonic (entropy, wordlist) {
|
|||
return wordlist[index]
|
||||
})
|
||||
|
||||
return wordlist == JAPANESE_WORDLIST ? words.join('\u3000') : words.join(' ')
|
||||
return wordlist === JAPANESE_WORDLIST ? words.join('\u3000') : words.join(' ')
|
||||
}
|
||||
|
||||
function generateMnemonic (strength, rng, wordlist) {
|
||||
|
|
Loading…
Reference in New Issue