Closed levischechter closed 10 months ago
Thanks. https://github.com/bnb-chain/tss-lib/pull/251 is a related PR.
Great! when can I expect it to be published to https://pkg.go.dev ?
https://github.com/bnb-chain/tss-lib/releases/tag/v2.0.1 here is a new release. It should be updated on pkg.go.dev soon.
thanks a lot. it also made me switch to v2. I didn't know I should.
common.SignatureData
hasMessageState
field which containsMutex
. when signing is done we need to getcommon.SignatureData
from the end channel which copies the value inside the channel. this operation is not safe in terms of concurrency handling.I suggest that the end channel will be of
*common.SignatureData
(pointer ofcommon.SignatureData
) this way the copy will be by reference which is safe.I also suggest that for compatible with the keygen process, the end channel of keygen will also be of type
*LocalPartySaveData
(pointer ofLocalPartySaveData
). even thoughLocalPartySaveData
has no Mutex.