diff --git a/migrations/20241024235044_nullifier_hash_index.sql b/migrations/20241024235044_nullifier_hash_index.sql new file mode 100644 index 0000000..8f20757 --- /dev/null +++ b/migrations/20241024235044_nullifier_hash_index.sql @@ -0,0 +1 @@ +CREATE INDEX IF NOT EXISTS idx_names_nullifier_hash ON names (nullifier_hash); \ No newline at end of file diff --git a/src/verify.rs b/src/verify.rs index c519297..31284d1 100644 --- a/src/verify.rs +++ b/src/verify.rs @@ -16,7 +16,7 @@ pub enum Error { } #[derive(Debug, serde::Deserialize)] -#[allow(dead_code, reason = "Fields are used on the HTTP response.")] +#[allow(dead_code)] // Fields are used on the HTTP response pub struct ErrorResponse { pub code: String, pub detail: String,