doc: improve and reference existing bug in the code (#356)

This commit is contained in:
Simone Basso
2021-06-04 12:50:23 +02:00
committed by GitHub
parent 4764d7f378
commit 944d3c53fa
3 changed files with 16 additions and 11 deletions
@@ -25,6 +25,8 @@ func (c Client) MaybeRegister(ctx context.Context, metadata Metadata) error {
return nil // we're already good
}
c.RegisterCalls.Add(1)
// TODO(bassosimone): here we should use a CSRNG
// (https://github.com/ooni/probe/issues/1502)
pwd := randx.Letters(64)
req := &registerRequest{
Metadata: metadata,