Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
montekki committed Oct 5, 2023
1 parent 3de147f commit 80ee74e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ pub async fn token_decimals_and_l1_address(
Ok(result)
}

/// Returns current max executed l2 miniblock number
/// Returns current max executed L2 miniblock number
pub async fn max_finalized_l2_miniblock_since_block(
pool: &PgPool,
since_block: u64,
Expand Down Expand Up @@ -928,7 +928,7 @@ pub async fn max_finalized_l2_miniblock_since_block(
Ok(res.map(|m| m as u64))
}

/// Returns current max l2 miniblock number
/// Returns current max L2 miniblock number
pub async fn max_l2_miniblock(pool: &PgPool) -> Result<Option<u64>> {
let res = sqlx::query!(
"
Expand All @@ -945,7 +945,7 @@ pub async fn max_l2_miniblock(pool: &PgPool) -> Result<Option<u64>> {
Ok(res.map(|m| m as u64))
}

/// Returns ids of withdrawals in the given l2 miniblock interval
/// Returns ids of withdrawals in the given L2 miniblock interval
pub async fn withdrawal_ids(pool: &PgPool, from: u64, to: u64) -> Result<Vec<i64>> {
let res = sqlx::query!(
"
Expand Down

0 comments on commit 80ee74e

Please sign in to comment.