aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bench/checkblock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/checkblock.cpp b/src/bench/checkblock.cpp
index bb596ce7f9..4a564d3fc8 100644
--- a/src/bench/checkblock.cpp
+++ b/src/bench/checkblock.cpp
@@ -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));
}
}