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

Fix a typo in class PrivateKey testcase #370

Merged
merged 1 commit into from May 8, 2023

Conversation

AmineKhaldi
Copy link
Contributor

Thanks to @knst for bringing attention to it in #358

@AmineKhaldi AmineKhaldi self-assigned this May 8, 2023
@AmineKhaldi AmineKhaldi requested a review from arvidn May 8, 2023 17:40
@@ -56,7 +56,7 @@ void TestHKDF(string ikm_hex, string salt_hex, string info_hex, string prk_expec

TEST_CASE("class PrivateKey") {
uint8_t buffer[PrivateKey::PRIVATE_KEY_SIZE];
memcmp(buffer, getRandomSeed().data(), PrivateKey::PRIVATE_KEY_SIZE);
memcpy(buffer, getRandomSeed().data(), PrivateKey::PRIVATE_KEY_SIZE);
Copy link
Contributor

@knst knst May 8, 2023

Choose a reason for hiding this comment

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

It copies buffer to getRandomeSeed, doesn't it?

Copy link
Contributor

Choose a reason for hiding this comment

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

@hoffmang9 hoffmang9 merged commit 3de304c into Chia-Network:main May 8, 2023
46 checks passed
UdjinM6 pushed a commit to UdjinM6/bls-signatures that referenced this pull request Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants