Skip to content

Commit

Permalink
add Send + Sync constraints to client connect
Browse files Browse the repository at this point in the history
  • Loading branch information
vovkman committed Sep 19, 2023
1 parent 67d87fe commit dc2d5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yellowstone-grpc-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl GeyserGrpcClient<()> {
endpoint: E,
x_token: Option<T>,
tls_config: Option<ClientTlsConfig>,
) -> GeyserGrpcClientResult<GeyserGrpcClient<impl Interceptor>>
) -> GeyserGrpcClientResult<GeyserGrpcClient<impl Interceptor + Send + Sync>>
where
E: Into<Bytes>,
T: TryInto<AsciiMetadataValue, Error = InvalidMetadataValue>,
Expand Down

0 comments on commit dc2d5ab

Please sign in to comment.