diff --git a/explorer/src/service/v2/block.rs b/explorer/src/service/v2/block.rs index 6c10790..a8b59bc 100644 --- a/explorer/src/service/v2/block.rs +++ b/explorer/src/service/v2/block.rs @@ -229,7 +229,7 @@ pub async fn get_blocks( ) -> Result>>> { let mut pool = state.pool.acquire().await?; let page = params.page.unwrap_or(1); - let page_size = params.page_size.unwrap_or(10); + let page_size = params.page_size.unwrap_or(0); let sql_total = "SELECT max(height) FROM block"; let row = sqlx::query(sql_total).fetch_one(&mut *pool).await?;