get_language() -> get_mnemonic_language()

This commit is contained in:
woodser
2019-12-07 08:36:15 -05:00
parent 34e0bca1be
commit 64bf4b5414
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -235,8 +235,8 @@ namespace monero {
*
* @return the language of the wallet's mnemonic phrase
*/
virtual string get_language() const {
throw runtime_error("get_language() not supported");
virtual string get_mnemonic_language() const {
throw runtime_error("get_mnemonic_language() not supported");
}
/**
+1 -1
View File
@@ -994,7 +994,7 @@ namespace monero {
return static_cast<monero_network_type>(m_w2->nettype());
}
string monero_wallet_core::get_language() const {
string monero_wallet_core::get_mnemonic_language() const {
return m_w2->get_seed_language();
}
+1 -1
View File
@@ -159,7 +159,7 @@ namespace monero {
string get_path() const;
monero_network_type get_network_type() const;
string get_mnemonic() const;
string get_language() const;
string get_mnemonic_language() const;
vector<string> get_languages() const;
string get_public_view_key() const;
string get_private_view_key() const;
+1 -1
View File
@@ -108,7 +108,7 @@ namespace monero {
monero_version get_version() const;
monero_network_type get_network_type() const { return m_network_type; }
string get_mnemonic() const { return m_mnemonic; }
string get_language() const { return m_language; }
string get_mnemonic_language() const { return m_language; }
vector<string> get_languages() const;
string get_private_view_key() const { return m_prv_view_key; }
string get_private_spend_key() const { return m_prv_spend_key; }