Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelSyntronic committed Mar 16, 2024
1 parent 6f20e25 commit 77bcdda
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions client/TurboBot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ export class TurboBot {

const raydium = new PublicKey(RAYDIUM_PUBLIC_KEY);

const ss = this.connection.onProgramAccountChange(raydium, (acc) => {
console.log(`Acc changed`)
})

let isCheckingPool = false
this.onLogsSubscriptionId = this.connection.onLogs(raydium, async (txLogs) => {
console.log(`Log received. ${txLogs.signature}`)
Expand Down Expand Up @@ -123,11 +119,7 @@ export class TurboBot {
"jsonrpc": "2.0",
"id": 1,
"method": "logsSubscribe",
"params": [
{
"mentions": [RAYDIUM_PUBLIC_KEY]
}
]
"params": ["all"]
})
)

Expand Down

0 comments on commit 77bcdda

Please sign in to comment.