diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-30 01:32:20 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-30 01:32:57 +0000 |
commit | 9092fc4bfdc99c08899c4c0ade231af840d23bcd (patch) | |
tree | 39b04bc8be426fc3c5d8e7f6b58e144c4efeb1c4 /src/wallet/wallet2.h | |
parent | Merge pull request #4902 (diff) | |
download | monero-9092fc4bfdc99c08899c4c0ade231af840d23bcd.tar.xz |
wallet: do not display daemon controlled text if untrusted
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index ace01a235..7d584b515 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1321,6 +1321,9 @@ namespace tools void on_pin_request(epee::wipeable_string & pin); void on_passphrase_request(bool on_device, epee::wipeable_string & passphrase); + std::string get_rpc_status(const std::string &s) const; + void throw_on_rpc_response_error(const boost::optional<std::string> &status, const char *method) const; + cryptonote::account_base m_account; boost::optional<epee::net_utils::http::login> m_daemon_login; std::string m_daemon_address; |