Skip to content

Commit

Permalink
feat(endpoint_onchain_checkpoints): Added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
akhercha committed May 28, 2024
1 parent df7a168 commit d7e2310
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ pub async fn get_onchain_checkpoints(
.await
.map_err(|db_error| db_error.to_entry_error(&pair_id))?;

// TODO(akhercha): Return error if checkpoints length == 0
Ok(Json(GetOnchainCheckpointsResponse(checkpoints)))
}

0 comments on commit d7e2310

Please sign in to comment.