aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-10-12 23:49:37 +0000
committerxiphon <xiphon@protonmail.com>2020-10-12 23:49:37 +0000
commitad7ea2c60ce962d736384e172487c4bbb9a42970 (patch)
tree62b7dfaefb4cfee64682f2f88ba03419a0952931 /src/rpc/core_rpc_server.cpp
parentMerge pull request #6819 (diff)
downloadmonero-ad7ea2c60ce962d736384e172487c4bbb9a42970.tar.xz
core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index a50c70418..3eeca29cd 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -1129,7 +1129,7 @@ namespace cryptonote
if (!restricted)
{
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();
}