bnb-chain / tss-lib

Threshold Signature Scheme, for ECDSA and EDDSA
MIT License
790 stars 271 forks source link

[nit] fix comment and minor optimize `GetRandomSafePrimesConcurrent` #246

Closed zhiqiangxu closed 9 months ago

zhiqiangxu commented 1 year ago

Since there're only concurrency goroutines and each will at most send to errCh once, so a size of concurrency will be enough.