Skip to content

Commit

Permalink
fix: enforce send + sync on HttpRequestVerifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ncpenke committed Apr 24, 2024
1 parent 0a51fd7 commit c7afe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/validator/ingress_message/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub use internal::TimeProvider;
/// but a signature was provided.
/// * [`RequestValidationError::CanisterNotInDelegationTargets`]: if the request targets a canister
/// that is not authorized in one of the delegations.
pub trait HttpRequestVerifier<C> {
pub trait HttpRequestVerifier<C>: Send + Sync {
fn validate_request(&self, request: &HttpRequest<C>) -> Result<(), RequestValidationError>;
}
/// Top-level error that occur when verifying an HTTP request
Expand Down

0 comments on commit c7afe72

Please sign in to comment.