mirror of
https://github.com/wownero/p2pool-wow.git
synced 2026-11-21 15:53:54 +01:00
p2pool: submit block from the main thread only
This commit is contained in:
@@ -410,7 +410,7 @@ void StratumServer::on_share_found(uv_work_t* req)
|
||||
|
||||
// First check if we found a mainnet block
|
||||
if (difficulty.check_pow(pow_hash)) {
|
||||
pool->submit_block(share->m_templateId, share->m_nonce, share->m_extraNonce);
|
||||
pool->submit_block_async(share->m_templateId, share->m_nonce, share->m_extraNonce);
|
||||
block.update_tx_keys();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user