Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayurii committed Nov 4, 2024
1 parent 7a2080d commit 2c52bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/src/postgres/rpc_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ impl crate::ReaderDbManager for crate::PostgresDBManager {
.bind(bigdecimal::BigDecimal::from(request_block_height))
.fetch_one(shard_id_pool.pool)
.await?;
Ok(code_size.to_u64().map(|size| size).unwrap_or_default())
Ok(code_size.to_u64().unwrap_or_default())
}

async fn get_access_key(
Expand Down

0 comments on commit 2c52bcb

Please sign in to comment.