aboutsummaryrefslogtreecommitdiff
path: root/src/bench/duplicate_inputs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/duplicate_inputs.cpp')
-rw-r--r--src/bench/duplicate_inputs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/duplicate_inputs.cpp b/src/bench/duplicate_inputs.cpp
index 6cfa3750d6..a783370b4e 100644
--- a/src/bench/duplicate_inputs.cpp
+++ b/src/bench/duplicate_inputs.cpp
@@ -54,7 +54,7 @@ static void DuplicateInputs(benchmark::State& state)
block.hashMerkleRoot = BlockMerkleRoot(block);
while (state.KeepRunning()) {
- CValidationState cvstate{};
+ BlockValidationState cvstate{};
assert(!CheckBlock(block, cvstate, chainparams.GetConsensus(), false, false));
assert(cvstate.GetRejectReason() == "bad-txns-inputs-duplicate");
}