Skip to content

Commit

Permalink
Merge PR #1158 from 'ChrisCho-H/feat/bip39-korean-mnemonic'
Browse files Browse the repository at this point in the history
  • Loading branch information
pinheadmz committed Jul 14, 2023
2 parents b005869 + 49a0cca commit bb0375e
Show file tree
Hide file tree
Showing 7 changed files with 2,231 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/hd/mnemonic.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ Mnemonic.languages = [
'french',
'italian',
'japanese',
'spanish'
'spanish',
'korean'
];

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/hd/wordlist-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ exports.get = function get(name) {
return words.japanese;
case 'spanish':
return words.spanish;
case 'korean':
return words.korean;
default:
throw new Error(`Unknown language: ${name}.`);
}
Expand Down
2 changes: 2 additions & 0 deletions lib/hd/wordlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ exports.get = function get(name) {
return require('./words/japanese.js');
case 'spanish':
return require('./words/spanish.js');
case 'korean':
return require('./words/korean.js');
default:
throw new Error(`Unknown language: ${name}.`);
}
Expand Down
1 change: 1 addition & 0 deletions lib/hd/words/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ exports.french = require('./french.js');
exports.italian = require('./italian.js');
exports.japanese = require('./japanese.js');
exports.spanish = require('./spanish.js');
exports.korean = require('./korean.js');
Loading

0 comments on commit bb0375e

Please sign in to comment.