Skip to content

Commit e6d98c2

Browse files
fix: rename jito-endpoint to jito-endpoints
Co-Authored-By: Ali Behjati <[email protected]>
1 parent c117aa3 commit e6d98c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/price_pusher/src/solana/command.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default {
4949
type: "number",
5050
default: 50000,
5151
} as Options,
52-
"jito-endpoint": {
52+
"jito-endpoints": {
5353
description: "Jito endpoint(s) - comma-separated list of endpoints",
5454
type: "string",
5555
optional: true,
@@ -117,7 +117,7 @@ export default {
117117
pythContractAddress,
118118
pushingFrequency,
119119
pollingFrequency,
120-
jitoEndpoint,
120+
jitoEndpoints,
121121
jitoKeypairFile,
122122
jitoTipLamports,
123123
dynamicJitoTips,
@@ -209,10 +209,10 @@ export default {
209209
Uint8Array.from(JSON.parse(fs.readFileSync(jitoKeypairFile, "ascii"))),
210210
);
211211

212-
const jitoEndpoints = jitoEndpoint
212+
const jitoEndpointsList = jitoEndpoints
213213
.split(",")
214214
.map((endpoint: string) => endpoint.trim());
215-
const jitoClients: SearcherClient[] = jitoEndpoints.map(
215+
const jitoClients: SearcherClient[] = jitoEndpointsList.map(
216216
(endpoint: string) => searcherClient(endpoint, jitoKeypair),
217217
);
218218

0 commit comments

Comments
 (0)