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

fix panic #218

Merged
merged 1 commit into from
Jun 26, 2024
Merged

fix panic #218

merged 1 commit into from
Jun 26, 2024

Conversation

abcdsxg
Copy link
Contributor

@abcdsxg abcdsxg commented Jun 6, 2024

panic: send on closed channel

goroutine 15857 [running]:
github.com/gagliardetto/solana-go/rpc/ws.(*Client).handleSubscriptionMessage(0xc000b89800, 0x191827, {0xc004e0a200, 0x1897, 0x1b00})
github.com/gagliardetto/[email protected]/rpc/ws/client.go:249 +0x3cf
github.com/gagliardetto/solana-go/rpc/ws.(*Client).handleMessage(0xc000b89800, {0xc004e0a200, 0x1897, 0x1b00})
github.com/gagliardetto/[email protected]/rpc/ws/client.go:183 +0x10e
github.com/gagliardetto/solana-go/rpc/ws.(*Client).receiveMessages(0xc000b89800)
github.com/gagliardetto/[email protected]/rpc/ws/client.go:145 +0x1f
created by github.com/gagliardetto/solana-go/rpc/ws.ConnectWithOptions in goroutine 54
github.com/gagliardetto/[email protected]/rpc/ws/client.go:113 +0x327

@gagliardetto gagliardetto merged commit c01c18e into gagliardetto:main Jun 26, 2024
12 checks passed
@gagliardetto
Copy link
Owner

thanks!

mhughdo pushed a commit to mhughdo/solana-go that referenced this pull request Jul 7, 2024
mhughdo added a commit to mhughdo/solana-go that referenced this pull request Sep 12, 2024
* Is the message resolved?

* Update README.md

* fix panic (gagliardetto#218)

* Cleanup

* Fix order of signatures in PartialSign function (gagliardetto#225)

Co-authored-by: Vincent <[email protected]>

* tag v1.11.0

* feat: add transaction signature subscribe (#1)

* fix: correct TransactionSignatureResult struct

* feat: allow apps to create solana client with custom http client (#2)

* feat: change the return type of transactionSubscribe (#3)

* feat: add Associated Token Account Program: CreateIdempotent instruction (#4)

* fix: nil pointer err in decodeResponseFromMessage

* feat: reduce stream and err buffers

* feat: increase s.stream channel size

* feat: expose wsclient RPCUrl

---------

Co-authored-by: gagliardetto <[email protected]>
Co-authored-by: 时小光 <[email protected]>
Co-authored-by: Vincent <[email protected]>
Co-authored-by: Vincent <[email protected]>
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.

3 participants