Merge pull request #4042

9d7f6e60 simplewallet: init trusted daemon flag to false when autodetecting (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-07-03 15:21:27 +02:00
commit 82c39355ac
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 0 deletions

View File

@ -3234,6 +3234,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
{ {
try try
{ {
m_trusted_daemon = false;
if (tools::is_local_address(m_wallet->get_daemon_address())) if (tools::is_local_address(m_wallet->get_daemon_address()))
{ {
MINFO(tr("Daemon is local, assuming trusted")); MINFO(tr("Daemon is local, assuming trusted"));