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

Panic #122

Open
povilasv opened this issue May 5, 2020 · 1 comment
Open

Panic #122

povilasv opened this issue May 5, 2020 · 1 comment

Comments

@povilasv
Copy link

povilasv commented May 5, 2020

panic: runtime error: hash of unhashable type gateway.SimpleMessage                                                                     

goroutine 28 [running]:                                             
github.com/uw-labs/substrate/internal/helper.(*AckOrderingSink).PublishMessages.func3(0x0, 0x0)                                         
        /go/src/github.com/uw-labs/substrate/internal/helper/sink_ack_ordering.go:63 +0x6a1                                             
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00019e570, 0xc00019e960)                                                                
        /go/src/golang.org/x/sync/errgroup/errgroup.go:57 +0x59                                                                         
created by golang.org/x/sync/errgroup.(*Group).Go                                                                                       
        /go/src/golang.org/x/sync/errgroup/errgroup.go:54 +0x66   
@mjgarton
Copy link
Contributor

mjgarton commented May 5, 2020

Thanks for opening this @povilasv

This is different but partially related to #103

As a workaround while we work this out, you can probably do something similar, i.e., use a pointer to gateway.SimpleMessage as the type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants