mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-16 23:53:29 +01:00
Use better name for local variable to prevent -Wshadow compiler warning
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user