Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Dec 10, 2024
1 parent dbea0fb commit d6fde33
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions core/node/da_clients/src/eigen/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,11 @@ impl<T: GetBlobData> RawEigenClient<T> {
.verify_inclusion_data_against_settlement_layer(blob_info.clone())
.await;
// in case of an error, the dispatcher will retry, so the need to return None
match result {
Ok(_) => {}
Err(e) => match e {
VerificationError::EmptyHash => {
return Ok(None);
}
_ => {
return Err(anyhow::anyhow!("Failed to verify inclusion data: {:?}", e));
}
},
if let Err(e) = result {
match e {
VerificationError::EmptyHash => return Ok(None),
_ => return Err(anyhow::anyhow!("Failed to verify inclusion data: {:?}", e)),
}
}

tracing::info!("Blob dispatch confirmed, request id: {}", request_id);
Expand Down

0 comments on commit d6fde33

Please sign in to comment.