diff options
author | Carl Dong <contact@carldong.me> | 2020-10-06 17:20:26 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-06-10 15:05:24 -0400 |
commit | 6c3b5dc0c13c3ac8c6e86298f924abe99d8d6bd1 (patch) | |
tree | 756ec8e7204730cbfe20bc3d5934bb1951a1e1b5 /src/index | |
parent | 3e82abb8dd7e21ec918966105648be7ae077fd8c (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/index')
-rw-r--r-- | src/index/base.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/index/base.cpp b/src/index/base.cpp index 3a61af28b7..6fd2701e2e 100644 --- a/src/index/base.cpp +++ b/src/index/base.cpp @@ -340,7 +340,6 @@ void BaseIndex::Interrupt() bool BaseIndex::Start(CChainState& active_chainstate) { - assert(std::addressof(::ChainstateActive()) == std::addressof(active_chainstate)); m_chainstate = &active_chainstate; // Need to register this ValidationInterface before running Init(), so that // callbacks are not missed if Init sets m_synced to true. |