Skip to content

Commit

Permalink
fix: progress
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniFrenchBread committed Aug 9, 2024
1 parent 8be1b87 commit 750dcff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chain-state/src/da_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ async fn check_da_logs(chain_state: Arc<ChainState>) -> Result<()> {
from, to
);
check_data_logs(chain_state.clone(), from, to).await?;
chain_state.db.write().await.put_progress(to + 1).await?;
}
chain_state.db.write().await.put_progress(to + 1).await?;
} else {
bail!(anyhow!("block number is empty"));
}
Expand Down
4 changes: 1 addition & 3 deletions grpc/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,7 @@ impl Signer for SignerService {
&self,
request: Request<Empty>,
) -> Result<Response<signer::StatusReply>, Status> {
let status = signer::StatusReply {
status_code: 200
};
let status = signer::StatusReply { status_code: 200 };
Ok(Response::new(status))
}
}
Expand Down

0 comments on commit 750dcff

Please sign in to comment.