Fixed cppcheck error

This commit is contained in:
SChernykh
2023-04-05 14:13:48 +02:00
parent 572d2251d7
commit f6cc7abac9
2 changed files with 2 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ void BlockCache::store(const PoolBlock& block)
memcpy(data + sizeof(uint32_t) + n1, sidechain_data.data(), n2);
}
void BlockCache::load_all(SideChain& side_chain, P2PServer& server)
void BlockCache::load_all(const SideChain& side_chain, P2PServer& server)
{
if (!m_impl->m_data) {
return;