mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2026-06-22 04:11:27 +10:00
remove unused code
This commit is contained in:
@@ -61,10 +61,6 @@ const network = 'mainnet-beta';
|
||||
const RPC_ENDPOINT = retrieveEnvVariable('RPC_ENDPOINT', logger);
|
||||
const RPC_WEBSOCKET_ENDPOINT = retrieveEnvVariable('RPC_WEBSOCKET_ENDPOINT', logger);
|
||||
|
||||
if (!RPC_ENDPOINT || !RPC_WEBSOCKET_ENDPOINT) {
|
||||
logger.error('RPC_ENDPOINT / RPC_WEBSOCKET_ENDPOINT is not set');
|
||||
process.exit(1);
|
||||
}
|
||||
const solanaConnection = new Connection(
|
||||
RPC_ENDPOINT,
|
||||
{wsEndpoint: RPC_WEBSOCKET_ENDPOINT},
|
||||
|
||||
Reference in New Issue
Block a user