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

server/eth: Implement ValidateSecret. #1190

Merged
merged 1 commit into from Oct 18, 2021

Conversation

JoeGruffins
Copy link
Member

Part of #1154

@JoeGruffins JoeGruffins marked this pull request as ready for review October 18, 2021 04:58

func TestValidateSecret(t *testing.T) {
secret, blankHash := make([]byte, 32), make([]byte, 32)
copy(secret[:], encode.RandomBytes(32))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't care because it's just a test, but no need to reslice secret in this copy.

@chappjc chappjc merged commit 9e1e0cb into decred:master Oct 18, 2021
@chappjc chappjc added this to the 0.5 milestone Nov 28, 2021
@chappjc chappjc removed this from the 0.5 milestone Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants