mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-17 08:17:55 +00:00
Miner: fixed share counter reset logic
This commit is contained in:
parent
7502481f26
commit
d151ed9354
1 changed files with 3 additions and 1 deletions
|
@ -627,7 +627,9 @@ void p2pool::update_block_template_async(bool is_alternative_block)
|
|||
return;
|
||||
}
|
||||
|
||||
m_isAlternativeBlock = is_alternative_block;
|
||||
if (is_alternative_block) {
|
||||
m_isAlternativeBlock = true;
|
||||
}
|
||||
|
||||
const int err = uv_async_send(&m_blockTemplateAsync);
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in a new issue