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

Better handling of errors when submitting TXs via NtN #204

Closed
agaffney opened this issue Jul 8, 2024 · 0 comments · Fixed by #211
Closed

Better handling of errors when submitting TXs via NtN #204

agaffney opened this issue Jul 8, 2024 · 0 comments · Fixed by #211

Comments

@agaffney
Copy link
Contributor

agaffney commented Jul 8, 2024

We currently panic on error.

{"level":"info","timestamp":"2024-07-08T06:20:42Z","caller":"miner/worker.go:80","msg":"starting 2 workers"}
{"level":"info","timestamp":"2024-07-08T06:20:42Z","caller":"miner/worker.go:64","msg":"stopped workers"}
panic: async: muxer error: read tcp <ip>:48842-><ip>:3001: read: connection reset by peer

goroutine 3565 [running]:
github.com/blinklabs-io/bluefin/internal/tx.submitTxNtN.func1()
        /home/ubuntu/bluefin/internal/tx/tx.go:442 +0x8e
created by github.com/blinklabs-io/bluefin/internal/tx.submitTxNtN in goroutine 3551
        /home/ubuntu/bluefin/internal/tx/tx.go:439 +0x1a5
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 a pull request may close this issue.

1 participant