mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge #9124: Use better name for local variable to prevent -Wshadow compiler warning
bf49f10 Use better name for local variable to prevent -Wshadow compiler warning (Pavel Janík)
This commit is contained in:
commit
87ab49e4fe
@ -46,8 +46,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state)
|
|||||||
stream >> block;
|
stream >> block;
|
||||||
assert(stream.Rewind(sizeof(block_bench::block413567)));
|
assert(stream.Rewind(sizeof(block_bench::block413567)));
|
||||||
|
|
||||||
CValidationState state;
|
CValidationState validationState;
|
||||||
assert(CheckBlock(block, state, params));
|
assert(CheckBlock(block, validationState, params));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user