From 5e0d0304d0b92f33f0143d3c120d1ca3512d4236 Mon Sep 17 00:00:00 2001 From: acheron Date: Tue, 17 Dec 2024 20:44:52 +0100 Subject: [PATCH] token-cli: Use `ProgramRpcClientSendTransaction::new` during `Config` creation --- token/cli/src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/token/cli/src/config.rs b/token/cli/src/config.rs index 74116217121..df0409c9907 100644 --- a/token/cli/src/config.rs +++ b/token/cli/src/config.rs @@ -116,12 +116,12 @@ impl<'a> Config<'a> { .unwrap_or_default(); Arc::new(ProgramOfflineClient::new( blockhash, - ProgramRpcClientSendTransaction, + ProgramRpcClientSendTransaction::new(), )) } else { Arc::new(ProgramRpcClient::new( rpc_client.clone(), - ProgramRpcClientSendTransaction, + ProgramRpcClientSendTransaction::new(), )) }; Self::new_with_clients_and_ws_url(