mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-21 01:42:16 +00:00
Korean uses ascii spaces, not ideographic spaces
This commit is contained in:
@@ -149,7 +149,7 @@ var Mnemonic = function(language) {
|
||||
// Set space correctly depending on the language
|
||||
// see https://github.com/bitcoin/bips/blob/master/bip-0039/bip-0039-wordlists.md#japanese
|
||||
var space = " ";
|
||||
if (language == "japanese" || language == "korean") {
|
||||
if (language == "japanese") {
|
||||
space = "\u3000"; // ideographic space
|
||||
}
|
||||
return words.join(space);
|
||||
|
||||
Reference in New Issue
Block a user