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

Commit

Permalink
merge main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Mar 9, 2024
2 parents 1851176 + 077ccf2 commit 3588471
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion prover/guardian.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func (p *Prover) gurdianProverHeartbeatLoop(ctx context.Context) {
p.wg.Add(1)
defer p.wg.Done()

// Only guardian provers need to send heartbeat.
if !p.IsGuardianProver() {
return
}
Expand Down
3 changes: 3 additions & 0 deletions prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ func InitFromConfig(ctx context.Context, p *Prover, cfg *Config) (err error) {
// Initialize state which will be shared by event handlers.
p.sharedState = state.New()

// Initialize state which will be shared by event handlers.
p.sharedState = state.New()

// Clients
if p.rpc, err = rpc.NewClient(p.ctx, &rpc.ClientConfig{
L1Endpoint: cfg.L1WsEndpoint,
Expand Down

0 comments on commit 3588471

Please sign in to comment.