mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-21 17:42:37 +02:00
Use better name for local variable to prevent -Wshadow compiler warning
This commit is contained in:
parent
71bc39eb74
commit
bf49f107ef
@ -46,8 +46,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state)
|
||||
stream >> block;
|
||||
assert(stream.Rewind(sizeof(block_bench::block413567)));
|
||||
|
||||
CValidationState state;
|
||||
assert(CheckBlock(block, state, params));
|
||||
CValidationState validationState;
|
||||
assert(CheckBlock(block, validationState, params));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user