mirror of
https://github.com/monero-project/monero.git
synced 2025-12-30 14:40:48 -08:00
mac osx building fixes
This commit is contained in:
@@ -252,7 +252,10 @@ namespace cryptonote
|
||||
return true;
|
||||
}
|
||||
|
||||
if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count)))
|
||||
boost::thread::attributes attrs;
|
||||
attrs.set_stack_size(THREAD_STACK_SIZE);
|
||||
|
||||
if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count), attrs))
|
||||
{
|
||||
res.status = "Failed, mining not started";
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user