mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-16 15:57:38 +00:00
Better fix for daemon solo mining with ZMQ
This commit is contained in:
parent
db9069897d
commit
575742078c
1 changed files with 3 additions and 0 deletions
|
@ -863,6 +863,9 @@ void xmrig::DaemonClient::ZMQParse()
|
|||
LOG_DEBUG(CYAN("tcp-zmq://%s:%u") BLACK_BOLD(" read ") CYAN_BOLD("%zu") BLACK_BOLD(" bytes") " %s", m_pool.host().data(), m_pool.zmq_port(), msg.size() - 1, msg.data());
|
||||
# endif
|
||||
|
||||
// Clear previous hash and check daemon height to guarantee that xmrig will call get_block_template RPC later
|
||||
// We can't call get_block_template directly because daemon is not ready yet
|
||||
m_prevHash = nullptr;
|
||||
send(kGetHeight);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue