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

go vet issues #163

Closed
momaee opened this issue Mar 22, 2022 · 1 comment
Closed

go vet issues #163

momaee opened this issue Mar 22, 2022 · 1 comment

Comments

@momaee
Copy link

momaee commented Mar 22, 2022

Hi there. I am using go vet in my repo. I get an error in the case of getting signature data at the final round of signing.

assignment copies lock value to data: github.com/binance-chain/tss-lib/common.SignatureData contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex

Also if you use your codes, you will get the same error in https://github.com/bnb-chain/tss-lib/blob/30c5ee412a0ef9096ae37f67d6e0d5adcfdd551e/ecdsa/resharing/local_party_test.go#L209

ecdsa/resharing/local_party_test.go:209:20: copylocks: assignment copies lock value to signData: github.com/binance-chain/tss-lib/common.SignatureData contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex (govet)

@yycen
Copy link
Contributor

yycen commented Apr 1, 2022

This PR could solve it. #167

yycen pushed a commit that referenced this issue Apr 18, 2024
* use *common.SignatureData instead of common.SignatureData to fix issue #163

* upgrade dependencies version

* check the threshold and size of vs is equal

* fix bug
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

No branches or pull requests

3 participants