Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayurii committed Jan 23, 2024
1 parent 527eedd commit b708d91
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion epoch-indexer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@ async fn main() -> anyhow::Result<()> {
near_jsonrpc_client::JsonRpcClient::connect(&indexer_config.general.near_rpc_url);

let epoch = match opts.start_options {
StartOptions::FromGenesis => epoch_indexer::first_epoch(&s3_client, &indexer_config.lake_config.aws_bucket_name, &rpc_client).await?,
StartOptions::FromGenesis => {
epoch_indexer::first_epoch(
&s3_client,
&indexer_config.lake_config.aws_bucket_name,
&rpc_client,
)
.await?
}
StartOptions::FromInterruption => {
let block_height = db_manager
.get_last_processed_block_height(indexer_id)
Expand Down

0 comments on commit b708d91

Please sign in to comment.