Skip to content

Commit

Permalink
slot
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelSyntronic committed Mar 16, 2024
1 parent 77bcdda commit 32c1560
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions client/TurboBot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,8 @@ export class TurboBot {
const ws = new WebSocket(config.rpcWsURL)
ws.onopen = () => {
ws.send(
JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "logsSubscribe",
"params": ["all"]
})
JSON.stringify({ "jsonrpc": "2.0", "id": 1, "method": "slotSubscribe" }
)
)

ws.onmessage = (evt) => {
Expand Down

0 comments on commit 32c1560

Please sign in to comment.