File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/price_pusher/src/solana Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments