Skip to content

Commit

Permalink
add nullifier hash index (#25)
Browse files Browse the repository at this point in the history
* add nullifier hash index

* fix build
  • Loading branch information
andy-t-wang authored Oct 24, 2024
1 parent 36d5663 commit 2ec6bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions migrations/20241024235044_nullifier_hash_index.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX IF NOT EXISTS idx_names_nullifier_hash ON names (nullifier_hash);
2 changes: 1 addition & 1 deletion src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2ec6bb6

Please sign in to comment.