mirror of
https://github.com/monero-project/monero.git
synced 2026-01-01 07:26:15 -08:00
Merge pull request #5502
25a7cfdadd a few checks where it seems appropriate (moneromooo-monero)1a66a86remove unused code (moneromooo-monero)
This commit is contained in:
@@ -1476,7 +1476,7 @@ namespace cryptonote
|
||||
ok = ok && getheight_res.status == CORE_RPC_STATUS_OK;
|
||||
|
||||
m_should_use_bootstrap_daemon = ok && top_height + 10 < getheight_res.height;
|
||||
MINFO((m_should_use_bootstrap_daemon ? "Using" : "Not using") << " the bootstrap daemon (our height: " << top_height << ", bootstrap daemon's height: " << getheight_res.height << ")");
|
||||
MINFO((m_should_use_bootstrap_daemon ? "Using" : "Not using") << " the bootstrap daemon (our height: " << top_height << ", bootstrap daemon's height: " << (ok ? getheight_res.height : 0) << ")");
|
||||
}
|
||||
if (!m_should_use_bootstrap_daemon)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user