From 721ac3cc19dd5f7f2ce4b851f6ac378435dc520f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 20 Dec 2023 08:46:50 +0100 Subject: [PATCH] Allow blocksync to not verify all signatures (#1858) (#1870) * Blocksync can skip sigs * bump (cherry picked from commit 9446e3135c28a92ac2ea9e5191e4c7da7ced7dbb) Co-authored-by: Sergio Mena --- blocksync/reactor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocksync/reactor.go b/blocksync/reactor.go index 82ad953a69..373ad908e5 100644 --- a/blocksync/reactor.go +++ b/blocksync/reactor.go @@ -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 {