Skip to content

Commit

Permalink
improving examples bitcoin-core#3: changing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheapshot003 committed Aug 29, 2024
1 parent d9dca14 commit edb863d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ecdh.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ int main(void) {
/*** Key Generation ***/

/* If the secret key is zero or out of range (bigger than secp256k1's
* order), we try to sample a new key. Note that the probability of this
* happening is negligible. */
* order), we return 1. Note that the probability of this
* happening is negligible, though it could indicate a faulty RNG */
if (!fill_random(seckey1, sizeof(seckey1)) || !fill_random(seckey2, sizeof(seckey2))) {
printf("Failed to generate randomness\n");
return 1;
Expand Down

0 comments on commit edb863d

Please sign in to comment.