diff --git a/src/bench/checkblock.cpp b/src/bench/checkblock.cpp index 75bcf43a3..d25e88de2 100644 --- a/src/bench/checkblock.cpp +++ b/src/bench/checkblock.cpp @@ -47,8 +47,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state) stream >> block; assert(stream.Rewind(sizeof(block_bench::block413567))); - CValidationState state; - assert(CheckBlock(block, state, params, block.GetBlockTime())); + CValidationState validationState; + assert(CheckBlock(block, validationState, params, block.GetBlockTime())); } }