mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-03 01:09:23 +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
|
// PoW is already checked at this point
|
||||||
|
|
||||||
std::vector<PoolBlock*> blocks_to_verify(1, block);
|
std::vector<PoolBlock*> blocks_to_verify(1, block);
|
||||||
PoolBlock* highest_block = nullptr;
|
const PoolBlock* highest_block = nullptr;
|
||||||
|
|
||||||
while (!blocks_to_verify.empty()) {
|
while (!blocks_to_verify.empty()) {
|
||||||
block = blocks_to_verify.back();
|
block = blocks_to_verify.back();
|
||||||
|
|
Loading…
Reference in a new issue