Merge pull request #6892

ad7ea2c core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check (xiphon)
This commit is contained in:
luigi1111 2020-11-29 00:40:03 -06:00
commit 678237835f
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -1137,7 +1137,7 @@ namespace cryptonote
if (!restricted) if (!restricted)
{ {
boost::shared_lock<boost::shared_mutex> lock(m_bootstrap_daemon_mutex); boost::shared_lock<boost::shared_mutex> lock(m_bootstrap_daemon_mutex);
if (m_bootstrap_daemon.get() != nullptr) if (m_should_use_bootstrap_daemon)
{ {
skip_validation = !check_core_ready(); skip_validation = !check_core_ready();
} }