Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 5e0d030

Browse files
committed
token-cli: Use ProgramRpcClientSendTransaction::new during Config creation
1 parent 65eeaf8 commit 5e0d030

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

token/cli/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ impl<'a> Config<'a> {
116116
.unwrap_or_default();
117117
Arc::new(ProgramOfflineClient::new(
118118
blockhash,
119-
ProgramRpcClientSendTransaction,
119+
ProgramRpcClientSendTransaction::new(),
120120
))
121121
} else {
122122
Arc::new(ProgramRpcClient::new(
123123
rpc_client.clone(),
124-
ProgramRpcClientSendTransaction,
124+
ProgramRpcClientSendTransaction::new(),
125125
))
126126
};
127127
Self::new_with_clients_and_ws_url(

0 commit comments

Comments
 (0)