Skip to content

Commit

Permalink
chore: remove unused prover parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Oct 4, 2024
1 parent 720531b commit aed16aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aggregator/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ func (a *Aggregator) tryBuildFinalProof(ctx context.Context, prover proverInterf
// we don't have a proof generating at the moment, check if we
// have a proof ready to verify

proof, err = a.getAndLockProofReadyToVerify(ctx, prover, lastVerifiedBatchNumber)
proof, err = a.getAndLockProofReadyToVerify(ctx, lastVerifiedBatchNumber)
if errors.Is(err, state.ErrNotFound) {
// nothing to verify, swallow the error
log.Debug("No proof ready to verify")
Expand Down Expand Up @@ -982,7 +982,7 @@ func (a *Aggregator) validateEligibleFinalProof(ctx context.Context, proof *stat
return true, nil
}

func (a *Aggregator) getAndLockProofReadyToVerify(ctx context.Context, prover proverInterface, lastVerifiedBatchNum uint64) (*state.Proof, error) {
func (a *Aggregator) getAndLockProofReadyToVerify(ctx context.Context, lastVerifiedBatchNum uint64) (*state.Proof, error) {
a.stateDBMutex.Lock()
defer a.stateDBMutex.Unlock()

Expand Down

0 comments on commit aed16aa

Please sign in to comment.