Make null hash constants constexpr
Simplify m_template initialization in miner
This commit is contained in:
@@ -99,7 +99,7 @@ namespace cryptonote
|
||||
|
||||
|
||||
miner::miner(i_miner_handler* phandler):m_stop(1),
|
||||
m_template(block{}),
|
||||
m_template{},
|
||||
m_template_no(0),
|
||||
m_diffic(0),
|
||||
m_thread_index(0),
|
||||
|
||||
Reference in New Issue
Block a user