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 authored and merklefruit committed Jul 3, 2024
1 parent 744cde7 commit bf76777
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 @@ -77,14 +77,14 @@ async fn main() -> eyre::Result<()> {
}
};

// 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 bf76777

Please sign in to comment.