mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-10-29 19:17:36 +00:00
Fixed cppcheck error
This commit is contained in:
parent
7bd824bae3
commit
9fd85942e0
1 changed files with 1 additions and 1 deletions
|
@ -1334,7 +1334,7 @@ void SideChain::verify_loop(PoolBlock* block)
|
|||
// PoW is already checked at this point
|
||||
|
||||
std::vector<PoolBlock*> blocks_to_verify(1, block);
|
||||
PoolBlock* highest_block = nullptr;
|
||||
const PoolBlock* highest_block = nullptr;
|
||||
|
||||
while (!blocks_to_verify.empty()) {
|
||||
block = blocks_to_verify.back();
|
||||
|
|
Loading…
Reference in a new issue