Clear crypto derivation/key cache when a block is found

This commit is contained in:
SChernykh
2021-09-27 13:28:23 +02:00
parent 4fce76576f
commit 4bcaa41c8e
4 changed files with 18 additions and 2 deletions
+2
View File
@@ -1055,6 +1055,8 @@ void p2pool::api_update_stats_mod()
void p2pool::api_update_block_found(const ChainMain* data)
{
clear_crypto_cache();
if (!m_api) {
return;
}