-
Notifications
You must be signed in to change notification settings - Fork 81
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
common: fix random number generator #541
common: fix random number generator #541
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix.
Hi all, Change this to draft, I will use this common function after the above PR is merged |
This is the side-effect from 1069a0c, the `Sign()` only return sign or not. Use wrapper function `GenRandNumber` to get the random number Signed-off-by: Vicente Cheng <[email protected]>
e82f284
to
6d7cf62
Compare
Hi all, update to using the wrapper function from go-common. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
@mergify backport v1.2 |
✅ Backports have been created
|
Problem:
side-effect from 1069a0c
Solution:
Use the correct random function
Related Issue:
Test plan: