Fixed cppcheck errors

This commit is contained in:
SChernykh
2025-10-01 16:39:42 +02:00
parent 5d7dfa2466
commit e1da9ff4d3
2 changed files with 10 additions and 10 deletions

View File

@@ -53,8 +53,8 @@ public:
[[nodiscard]] bool add_block(const PoolBlock& block);
void get_missing_blocks(unordered_set<hash>& missing_blocks) const;
[[nodiscard]] PoolBlock* find_block(const hash& id) const;
[[nodiscard]] PoolBlock* find_block_by_merkle_root(const root_hash& merkle_root) const;
[[nodiscard]] const PoolBlock* find_block(const hash& id) const;
[[nodiscard]] const PoolBlock* find_block_by_merkle_root(const root_hash& merkle_root) const;
void watch_mainchain_block(const ChainMain& data, const hash& possible_merkle_root);
[[nodiscard]] const PoolBlock* get_block_blob(const hash& id, std::vector<uint8_t>& blob) const;