blockchain: fix cryptonight buffer leak on exit

release-v0.4.0.1
moneromooo-monero 7 years ago
parent 91aa90fc79
commit d8becf2ee1
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -3549,7 +3549,7 @@ void Blockchain::block_longhash_worker(uint64_t height, const std::vector<block>
for (const auto & block : blocks)
{
if (m_cancel)
return;
break;
crypto::hash id = get_block_hash(block);
crypto::hash pow = get_block_longhash(block, height++);
map.emplace(id, pow);

Loading…
Cancel
Save