Skip to content

Commit

Permalink
some final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cylewitruk committed Feb 10, 2025
1 parent 85aae81 commit 4ac4bd1
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 96 deletions.
6 changes: 5 additions & 1 deletion signer/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@ pub enum Error {
#[error("invalid signing request")]
InvalidSigningOperation,

/// The DKG verification state machine is in an end-state.
#[error("DKG verification state machine is in an end-state and cannot be used for the requested operation: {0}")]
DkgVerificationEnded(PublicKeyXOnly, Box<dkg::verification::State>),

/// The rotate-key frost verification signing round failed for the aggregate
/// key.
#[error("rotate-key frost verification signing failed for aggregate key: {0}")]
#[error("DKG verification signing failed for aggregate key: {0}")]
DkgVerificationFailed(PublicKeyXOnly),

/// Cannot verify the aggregate key outside the verification window
Expand Down
Loading

0 comments on commit 4ac4bd1

Please sign in to comment.