From 41c12bfcb2e7b97d3e371ecbd8987bd5e549d6e7 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Wed, 22 Sep 2021 14:15:07 +0200 Subject: [PATCH] improve grammar in BLS test comments The comments for the PRIVKEYS definition in the BLS test generator were a bit difficult to read. Improved by rewording them slightly. --- tests/generators/bls/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/generators/bls/main.py b/tests/generators/bls/main.py index 75468b162..6fc86d10f 100644 --- a/tests/generators/bls/main.py +++ b/tests/generators/bls/main.py @@ -45,8 +45,8 @@ MESSAGES = [ SAMPLE_MESSAGE = b'\x12' * 32 PRIVKEYS = [ - # Curve order is 256 so private keys are 32 bytes at most. - # Also not all integers is a valid private key, so using pre-generated keys + # Curve order is 256, so private keys use 32 bytes at most. + # Also, not all integers are valid private keys. Therefore, using pre-generated keys. hex_to_int('0x00000000000000000000000000000000263dbd792f5b1be47ed85f8938c0f29586af0d3ac7b977f21c278fe1462040e3'), hex_to_int('0x0000000000000000000000000000000047b8192d77bf871b62e87859d653922725724a5c031afeabc60bcef5ff665138'), hex_to_int('0x00000000000000000000000000000000328388aff0d4a5b7dc9205abd374e7e98f3cd9f3418edb4eafda5fb16473d216'),