Skip to content

Commit

Permalink
add 'static bound back to trait
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Feb 25, 2024
1 parent a61f251 commit 299322a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proto/src/crypto/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use super::rng::DeterministicRng;

/// This trait defines a generic signature scheme, wherein we can sign and verify messages
/// with the associated public and private keys.
pub trait SignatureScheme: Send + Sync + Clone {
pub trait SignatureScheme: Send + Sync + Clone + 'static {
/// The signing key type
type PrivateKey: Clone + Send + Sync;
/// The verification key type
Expand Down

0 comments on commit 299322a

Please sign in to comment.