From c083202c20d908114264c58fa7d5f77062aa7098 Mon Sep 17 00:00:00 2001 From: Petar Vujovic Date: Wed, 17 Jul 2024 15:59:17 +0200 Subject: [PATCH] fix(tasks): fix clippy lints --- tasks/src/adv_sqlite.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/src/adv_sqlite.rs b/tasks/src/adv_sqlite.rs index 163040c13..f362bbb74 100644 --- a/tasks/src/adv_sqlite.rs +++ b/tasks/src/adv_sqlite.rs @@ -778,7 +778,7 @@ impl TaskDb { statement.execute(named_params! { ":chain_id": chain_id, ":blockhash": blockhash.to_vec(), - ":proofsys_id": proof_key as u8, + ":proofsys_id": proof_key, ":id": id, })?; @@ -799,7 +799,7 @@ impl TaskDb { statement.execute(named_params! { ":chain_id": chain_id, ":blockhash": blockhash.to_vec(), - ":proofsys_id": proof_key as u8, + ":proofsys_id": proof_key, })?; Ok(()) @@ -824,7 +824,7 @@ impl TaskDb { named_params! { ":chain_id": chain_id, ":blockhash": blockhash.to_vec(), - ":proofsys_id": proof_key as u8, + ":proofsys_id": proof_key, }, |row| row.get::<_, String>(0), )?;