Skip to content

Commit

Permalink
Allow blocksync to not verify all signatures (cometbft#1858) (cometbf…
Browse files Browse the repository at this point in the history
…t#1870)

* Blocksync can skip sigs

* bump

(cherry picked from commit 9446e31)

Co-authored-by: Sergio Mena <sergio@informal.systems>
  • Loading branch information
mergify[bot] and sergio-mena authored Dec 20, 2023
1 parent 73aab64 commit 721ac3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocksync/reactor.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ FOR_LOOP:
// first.Hash() doesn't verify the tx contents, so MakePartSet() is
// currently necessary.
// TODO(sergio): Should we also validate against the extended commit?
err = state.Validators.VerifyCommitLightAllSignatures(
err = state.Validators.VerifyCommitLight(
chainID, firstID, first.Height, second.LastCommit)

if err == nil {
Expand Down

0 comments on commit 721ac3c

Please sign in to comment.