Skip to content

Commit 74d598a

Browse files
author
Matteo Sumberaz
authored
Delete commented code (#829)
Signed-off-by: Matteo Sumberaz <[email protected]>
1 parent 5cb62d3 commit 74d598a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/p2p/finalizer_commits_handler_impl.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -354,18 +354,6 @@ bool FinalizerCommitsHandlerImpl::OnCommits(
354354
}
355355
}
356356

357-
// // Make contextual check of the commits.
358-
// if (new_index->pprev != nullptr) {
359-
// if (auto *fin_state = m_repo->Find(*new_index->pprev)) {
360-
// for (const auto &c : d.commits) {
361-
// if (!esperanza::ContextualCheckFinalizationTx(
362-
// *c, err_state, chainparams.GetConsensus(), *fin_state)) {
363-
// return false;
364-
// }
365-
// }
366-
// }
367-
// }
368-
369357
if (new_index->commits) {
370358
if (!FinalizerCommitsEqual(*new_index->commits, d.commits)) {
371359
// This should be almost impossible with commits merkle root validation, check it just in case

0 commit comments

Comments
 (0)