Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuchichan committed Mar 11, 2024
1 parent 858d5ab commit 62e2e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explorer/src/service/v2/other.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pub async fn v2_statistics(api: &Api, ty: Query<Option<i32>>) -> Result<V2ChainS

let sql_daily_txs = format!(
"select count(*) as cnt from transaction where timestamp>={}",
start_time.timestamp()
start_time.and_utc().timestamp()
);
let row_daily = sqlx::query(sql_daily_txs.as_str())
.fetch_one(&mut conn)
Expand Down

0 comments on commit 62e2e16

Please sign in to comment.