diff options
| author | Lee Clagett <code@leeclagett.com> | 2017-02-05 17:48:03 -0500 |
|---|---|---|
| committer | Lee Clagett <code@leeclagett.com> | 2017-02-06 01:15:41 -0500 |
| commit | ce7fcbb4aea884bb4bf433cf419ffa267f859c87 (patch) | |
| tree | e8fb644b62006d78f801d739fbebad50f2c2409d /src/simplewallet | |
| parent | e56bf442c394bc5977cb7931d78b4cfca5e3a0b2 (diff) | |
| download | monzero-core-ce7fcbb4aea884bb4bf433cf419ffa267f859c87.tar.gz monzero-core-ce7fcbb4aea884bb4bf433cf419ffa267f859c87.tar.xz monzero-core-ce7fcbb4aea884bb4bf433cf419ffa267f859c87.zip | |
Add server auth to monerod, and client auth to wallet-cli and wallet-rpc
Diffstat (limited to 'src/simplewallet')
| -rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 | ||||
| -rw-r--r-- | src/simplewallet/simplewallet.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index a8f1d177f..7ffce6798 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1192,7 +1192,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm) } catch (const std::exception &e) { } - m_http_client.set_server(m_wallet->get_daemon_address()); + m_http_client.set_server(m_wallet->get_daemon_address(), m_wallet->get_daemon_login()); m_wallet->callback(this); return true; } diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index ce0a24be7..b101f3e0b 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -44,7 +44,7 @@ #include "cryptonote_core/cryptonote_basic_impl.h" #include "wallet/wallet2.h" #include "console_handler.h" -#include "wallet/password_container.h" +#include "common/password.h" #include "crypto/crypto.h" // for definition of crypto::secret_key #undef MONERO_DEFAULT_LOG_CATEGORY |
