From 34fb307c42c1bd8cf0203fbf29e6a4d2eede00b8 Mon Sep 17 00:00:00 2001 From: planetBoy <140164174+Guayaba221@users.noreply.github.com> Date: Sat, 4 Jan 2025 13:02:32 +0100 Subject: [PATCH 1/2] Update phase2.go From 4b8f819ab94b6c325ffef94dfebec69c0f3c85b9 Mon Sep 17 00:00:00 2001 From: planetBoy <140164174+Guayaba221@users.noreply.github.com> Date: Sat, 4 Jan 2025 13:05:53 +0100 Subject: [PATCH 2/2] Update phase2.go --- backend/groth16/bls24-317/mpcsetup/phase2.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/groth16/bls24-317/mpcsetup/phase2.go b/backend/groth16/bls24-317/mpcsetup/phase2.go index 5521eadb9..188f6f8da 100644 --- a/backend/groth16/bls24-317/mpcsetup/phase2.go +++ b/backend/groth16/bls24-317/mpcsetup/phase2.go @@ -228,11 +228,11 @@ func verifyPhase2(current, contribution *Phase2) error { // Check for valid updates of L and Z using L, prevL := merge(contribution.Parameters.G1.L, current.Parameters.G1.L) if !sameRatio(L, prevL, contribution.Parameters.G2.Delta, current.Parameters.G2.Delta) { - return errors.New("couldn't verify valid updates of L using δ⁻¹") + return errors.New("couldn't verify valid updates of Z using δ⁻¹") } Z, prevZ := merge(contribution.Parameters.G1.Z, current.Parameters.G1.Z) if !sameRatio(Z, prevZ, contribution.Parameters.G2.Delta, current.Parameters.G2.Delta) { - return errors.New("couldn't verify valid updates of L using δ⁻¹") + return errors.New("couldn't verify valid updates of Z using δ⁻¹") } // Check hash of the contribution