Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove debug print on websocket start #79

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

richardstrnad
Copy link
Contributor

Currently, on each start/restart of a WebSocket, we git this print in our logs. This clutters the output quite a bit. I suggest removing or replacing it with something like tracing, where the user can decide how much information he gets.

subscription: {
  "id": 1,
  "jsonrpc": "2.0",
  "method": "transactionSubscribe",
  "params": [
    {
      "accountInclude": [
        ""
      ],
      "failed": false,
      "vote": false
    },
    {
      "commitment": "processed",
      "encoding": "jsonParsed",
      "maxSupportedTransactionVersion": 0,
      "showRewards": true,
      "transactionDetails": "full"
    }
  ]
}

Copy link
Collaborator

@0xIchigo 0xIchigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! 🔥

@0xIchigo 0xIchigo merged commit 2b4440f into helius-labs:dev Oct 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants