mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 20:50:26 -04:00
parent
51766d026b
commit
f2f207d635
4 changed files with 8 additions and 18 deletions
|
@ -408,10 +408,7 @@ namespace rpc
|
|||
return;
|
||||
}
|
||||
|
||||
boost::thread::attributes attrs;
|
||||
attrs.set_stack_size(THREAD_STACK_SIZE);
|
||||
|
||||
if(!m_core.get_miner().start(info.address, static_cast<size_t>(req.threads_count), attrs, req.do_background_mining, req.ignore_battery))
|
||||
if(!m_core.get_miner().start(info.address, static_cast<size_t>(req.threads_count), req.do_background_mining, req.ignore_battery))
|
||||
{
|
||||
res.error_details = "Failed, mining not started";
|
||||
LOG_PRINT_L0(res.error_details);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue