diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-03-05 12:57:21 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-03-06 10:26:15 +0000 |
commit | 064eeb286129d88bab60a81c08c319fbc91c5770 (patch) | |
tree | ae3902d678b1c7ab93b29b9524029d017e1aeccd /src/mnemonics/electrum-words.h | |
parent | Merge pull request #7381 (diff) | |
download | monero-064eeb286129d88bab60a81c08c319fbc91c5770.tar.xz |
wallet_rpc_server: set seed language in generate_from_keys
Also sanity check language name
Diffstat (limited to '')
-rw-r--r-- | src/mnemonics/electrum-words.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mnemonics/electrum-words.h b/src/mnemonics/electrum-words.h index 8d4c5be66..eb0c99e0b 100644 --- a/src/mnemonics/electrum-words.h +++ b/src/mnemonics/electrum-words.h @@ -124,6 +124,8 @@ namespace crypto * \return the name of the language in English */ std::string get_english_name_for(const std::string &name); + + bool is_valid_language(const std::string &language); } } |