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
parent d27d4526fe
commit ad7ea2c60c

View file

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