simplewallet: init trusted daemon flag to false when autodetecting

This commit is contained in:
moneromooo-monero 2018-06-23 09:53:09 +01:00
parent 9a3712541e
commit 9d7f6e6089
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

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