Skip to content

Commit 2c52bcb

Browse files
committed
clippy
1 parent 7a2080d commit 2c52bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/src/postgres/rpc_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ impl crate::ReaderDbManager for crate::PostgresDBManager {
385385
.bind(bigdecimal::BigDecimal::from(request_block_height))
386386
.fetch_one(shard_id_pool.pool)
387387
.await?;
388-
Ok(code_size.to_u64().map(|size| size).unwrap_or_default())
388+
Ok(code_size.to_u64().unwrap_or_default())
389389
}
390390

391391
async fn get_access_key(

0 commit comments

Comments
 (0)