diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-23 20:40:28 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-23 20:40:28 +0000 |
commit | 8262da8137cb463d17f0beb77157346272c1edbe (patch) | |
tree | eaa7dde3fad1a483d34e284159ec8c45ac32d0bc /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #1775 (diff) | |
download | monero-8262da8137cb463d17f0beb77157346272c1edbe.tar.xz |
rpc: make mining_status RPC work when syncing
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index ab17dfaf3..d79621de4 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -665,7 +665,7 @@ namespace cryptonote //------------------------------------------------------------------------------------------------------------------------------ bool core_rpc_server::on_mining_status(const COMMAND_RPC_MINING_STATUS::request& req, COMMAND_RPC_MINING_STATUS::response& res) { - CHECK_CORE_READY(); + CHECK_CORE_BUSY(); const miner& lMiner = m_core.get_miner(); res.active = lMiner.is_mining(); |