Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Sep 13, 2023
1 parent 8d8b0ba commit ca61866
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup/internal/controller/relayer/l2_relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ func (r *Layer2Relayer) ProcessCommittedBatches() {

// Check batch status before send `finalizeBatchWithProof` tx.
if r.cfg.ChainMonitor.EnableChainMonitor {
batchStatus, err := r.getBatchStatusByIndex(batch.Index)
var batchStatus bool
batchStatus, err = r.getBatchStatusByIndex(batch.Index)
if err != nil {
r.metrics.rollupL2ChainMonitorLatestFailedCall.Inc()
log.Warn("failed to get batch status, please check chain_monitor api server", "batch_index", batch.Index, "err", err)
Expand Down

0 comments on commit ca61866

Please sign in to comment.