Refactoring
- Skip calling time(nullptr) twice - Use getter method for m_api instead of exposing it - Moved api_udate_*() back to private since they're not used anywhere else
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ void p2pool_api::dump_to_file_async_internal(const Category& category, const cha
|
||||
case Category::GLOBAL: path = m_apiPath + filename; break;
|
||||
case Category::NETWORK: path = m_networkPath + filename; break;
|
||||
case Category::POOL: path = m_poolPath + filename; break;
|
||||
case Category::LOCAL: path = m_localPath + filename; break;
|
||||
case Category::LOCAL: path = m_localPath + filename; break;
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user