core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check

This commit is contained in:
xiphon 2020-10-12 23:49:37 +00:00 committed by wowario
parent 4a971e575f
commit b974ccde3a
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 1 additions and 1 deletions

View File

@ -1154,7 +1154,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();
} }