mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
Merge pull request #2597
c4136134
miner: always update block template when starting (moneromooo-monero)
This commit is contained in:
commit
e50bf5f811
1 changed files with 1 additions and 2 deletions
|
@ -291,8 +291,7 @@ namespace cryptonote
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!m_template_no)
|
request_block_template();//lets update block template
|
||||||
request_block_template();//lets update block template
|
|
||||||
|
|
||||||
boost::interprocess::ipcdetail::atomic_write32(&m_stop, 0);
|
boost::interprocess::ipcdetail::atomic_write32(&m_stop, 0);
|
||||||
boost::interprocess::ipcdetail::atomic_write32(&m_thread_index, 0);
|
boost::interprocess::ipcdetail::atomic_write32(&m_thread_index, 0);
|
||||||
|
|
Loading…
Reference in a new issue