Skip to content

Commit

Permalink
fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuchichan committed Jun 30, 2024
1 parent 0aa3cbd commit 350a61c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion explorer/src/service/v2/other.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ pub async fn get_tx_distribute(
let row_native = sqlx::query(sql_native).fetch_one(&mut *conn).await?;
let native_count: i64 = row_native.try_get("count")?;

let sql_privacy = "SELECT count(height) FROM transaction WHERE ty_sub=2 or ty_sub=3 or ty_sub=4";
let sql_privacy =
"SELECT count(height) FROM transaction WHERE ty_sub=2 or ty_sub=3 or ty_sub=4";
let row_privacy = sqlx::query(sql_privacy).fetch_one(&mut *conn).await?;
let privacy: i64 = row_privacy.try_get("count")?;

Expand Down

0 comments on commit 350a61c

Please sign in to comment.