Skip to content

Commit

Permalink
add Send + Sync constraints to client connect
Browse files Browse the repository at this point in the history
Signed-off-by: vovkman <liam.vovk@gmail.com>
  • Loading branch information
vovkman committed Sep 19, 2023
1 parent 67d87fe commit f06814c
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 f06814c

Please sign in to comment.