Skip to content

Commit

Permalink
Rm forbidden key error variants
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Jan 6, 2025
1 parent 4e99f4c commit a0463ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions crates/threshold-signature-server/src/user/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ pub enum UserErr {
ChainFetch(&'static str),
#[error("Too many requests - wait a block")]
TooManyRequests,
#[error("The given key is forbidden")]
ForbiddenKey,
#[error("No existing keyshare found for this user")]
UserDoesNotExist,
#[error("The remote TSS server rejected the keyshare: {0}")]
Expand Down
2 changes: 0 additions & 2 deletions crates/threshold-signature-server/src/validator/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ pub enum ValidatorErr {
Kv(#[from] entropy_kvdb::kv_manager::error::KvError),
#[error("User Error: {0}")]
UserErr(#[from] crate::user::UserErr),
#[error("Forbidden Key")]
ForbiddenKey,
#[error("Validation Error: {0}")]
ValidationErr(#[from] crate::validation::errors::ValidationErr),
#[error("anyhow error: {0}")]
Expand Down

0 comments on commit a0463ac

Please sign in to comment.