aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-10-06 17:20:26 -0400
committerCarl Dong <contact@carldong.me>2021-06-10 15:05:24 -0400
commit6c3b5dc0c13c3ac8c6e86298f924abe99d8d6bd1 (patch)
tree756ec8e7204730cbfe20bc3d5934bb1951a1e1b5 /src/bench
parent3e82abb8dd7e21ec918966105648be7ae077fd8c (diff)
scripted-diff: tree-wide: Remove all review-only assertions
-BEGIN VERIFY SCRIPT- find_regex='((assert|CHECK_NONFATAL)\(std::addressof|TODO: REVIEW-ONLY)' \ && git grep -l -E "$find_regex" -- . \ | xargs sed -i -E "/${find_regex}/d" -END VERIFY SCRIPT-
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/duplicate_inputs.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bench/duplicate_inputs.cpp b/src/bench/duplicate_inputs.cpp
index 4f6e1122b8..8703a1cf94 100644
--- a/src/bench/duplicate_inputs.cpp
+++ b/src/bench/duplicate_inputs.cpp
@@ -25,7 +25,6 @@ static void DuplicateInputs(benchmark::Bench& bench)
CMutableTransaction naughtyTx{};
LOCK(cs_main);
- assert(std::addressof(::ChainActive()) == std::addressof(testing_setup->m_node.chainman->ActiveChain()));
CBlockIndex* pindexPrev = testing_setup->m_node.chainman->ActiveChain().Tip();
assert(pindexPrev != nullptr);
block.nBits = GetNextWorkRequired(pindexPrev, &block, chainparams.GetConsensus());