From aaafea089b898b9d636e4d7bf5ffa09a1ed92975 Mon Sep 17 00:00:00 2001 From: ouhuang <1500256797@qq.com> Date: Thu, 28 Mar 2024 18:50:50 +0800 Subject: [PATCH] ProgramClient : add Send and Sync maker trait --- token/client/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token/client/src/client.rs b/token/client/src/client.rs index 6ebc769a2d8..c2858f41076 100644 --- a/token/client/src/client.rs +++ b/token/client/src/client.rs @@ -192,7 +192,7 @@ pub type ProgramClientResult = Result; /// Generic client interface for programs. #[async_trait] -pub trait ProgramClient +pub trait ProgramClient: Send + Sync where ST: SendTransaction + SimulateTransaction, {