Skip to content

Commit

Permalink
token-cli: Use ProgramRpcClientSendTransaction::new during Config
Browse files Browse the repository at this point in the history
… creation
  • Loading branch information
acheroncrypto committed Dec 17, 2024
1 parent 65eeaf8 commit 5e0d030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions token/cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5e0d030

Please sign in to comment.