Skip to content

Commit

Permalink
bug fix in close batch status for RPC node (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexoscott authored Nov 12, 2024
1 parent 797ea50 commit 4dbfc3b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions turbo/jsonrpc/zkevm_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,6 @@ func (api *ZkEvmAPIImpl) GetBatchByNumber(ctx context.Context, rpcBatchNumber rp
batch.Closed = true
}
}

batch.Closed = batchNo <= latestClosedbatchNum
}

// verification - if we can't find one, maybe this batch was verified along with a higher batch number
Expand Down

0 comments on commit 4dbfc3b

Please sign in to comment.