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;

View file

@ -30,7 +30,7 @@ public:
~BlockCache();
void store(const PoolBlock& block);
void load_all(SideChain& side_chain, P2PServer& server);
void load_all(const SideChain& side_chain, P2PServer& server);
void flush();
private: