Skip to content

Commit

Permalink
fix(sidecar): restore execution checks
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Jul 3, 2024
1 parent 16146e6 commit f2020f0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions bolt-sidecar/bin/sidecar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ async fn main() -> eyre::Result<()> {
continue;
}

// if let Err(e) = execution_state
// .try_commit(&request)
// .await
// {
// tracing::error!("Failed to commit request: {:?}", e);
// let _ = response_tx.send(Err(ApiError::Custom(e.to_string())));
// continue;
// }
if let Err(e) = execution_state
.try_commit(&request)
.await
{
tracing::error!("Failed to commit request: {:?}", e);
let _ = response_tx.send(Err(ApiError::Custom(e.to_string())));
continue;
}

// TODO: match when we have more request types
let CommitmentRequest::Inclusion(request) = request;
Expand Down

0 comments on commit f2020f0

Please sign in to comment.