mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 13:23:29 +01:00
miner: always update block template when starting
This fixes using the previous address when starting mining, then stopping and restarting with a different address
This commit is contained in:
parent
86e9de588c
commit
c413613416
@ -289,7 +289,6 @@ 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);
|
||||||
|
Loading…
Reference in New Issue
Block a user