Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
feat(prover): update skip checking for system prover (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored May 10, 2023
1 parent 1020377 commit 79ba210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ func (p *Prover) isBlockVerified(id *big.Int) (bool, error) {

// NeedNewProof checks whether the L2 block still needs a new proof.
func (p *Prover) NeedNewProof(id *big.Int) (bool, error) {
if !p.cfg.OracleProver {
if !p.cfg.OracleProver && !p.cfg.SystemProver {
conf, err := p.rpc.TaikoL1.GetConfig(nil)
if err != nil {
return false, err
Expand Down

0 comments on commit 79ba210

Please sign in to comment.