Skip to content

Commit

Permalink
feat(signer): implement sign_raw_digest
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-wright committed Jun 28, 2023
1 parent 146bd79 commit a5da273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/signer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ impl SignerInterface for Signer {
/// This function is unsafe to use without proper reasoning, which is trivial since
/// this function is responsible for signing arbitrary messages from other parts of
/// the system.
fn sign_raw_digest(&self, _digest: &[u8; 32]) -> NodeSignature {
todo!()
fn sign_raw_digest(&self, digest: &[u8; 32]) -> NodeSignature {
self.inner.node_secret_key.sign(digest)
}
}

Expand Down

0 comments on commit a5da273

Please sign in to comment.