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 onBlockProposed
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Sep 19, 2023
1 parent a026816 commit 46b8d12
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 @@ -543,7 +543,7 @@ func (p *Prover) onBlockProposed(
// zero address means anyone can prove, proofWindowExpired means anyone can prove even if not zero address
if block.Prover != p.proverAddress &&
!proofWindowExpired &&
!(block.Prover == encoding.OracleProverAddress && p.oracleProverAddress == p.proverAddress) {
!(block.Prover == encoding.OracleProverAddress && p.cfg.OracleProver) {
log.Info(
"Proposed block not provable",
"blockID",
Expand Down

0 comments on commit 46b8d12

Please sign in to comment.