diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-24 11:57:03 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-24 11:57:03 +0200 |
commit | 089df0a7a41003ee508bf0523fcd97e4ac3ab58e (patch) | |
tree | a1f5c0eb7e915c02c1db8f2ce5b6a8b1aa78e5e7 /src | |
parent | Merge pull request #1779 (diff) | |
parent | rpc: make mining_status RPC work when syncing (diff) | |
download | monero-089df0a7a41003ee508bf0523fcd97e4ac3ab58e.tar.xz |
Merge pull request #1780
8262da81 rpc: make mining_status RPC work when syncing (moneromooo-monero)
Diffstat (limited to 'src')
-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(); |