File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ def _parse_fp2_element(data: bytes) -> bls12_381.FQ2:
206
206
)
207
207
208
208
209
- def _map_fp2_to_g2 (x : bls12_381 .FQ2 ) -> G2Point :
210
- point = bls .hash_to_curve .map_to_curve_G2 (x )
209
+ def _map_fp2_to_g2 (field_element : bls12_381 .FQ2 ) -> G2Point :
210
+ point = bls .hash_to_curve .map_to_curve_G2 (field_element )
211
211
return bls12_381 .normalize (point )
212
212
213
213
@@ -217,8 +217,8 @@ def map_fp2_to_g2(computation: BaseComputation,
217
217
218
218
try :
219
219
input_data = computation .msg .data_as_bytes
220
- x = _parse_fp2_element (input_data [:FP2_SIZE_IN_BYTES ])
221
- result = _map_fp2_to_g2 (x )
220
+ field_element = _parse_fp2_element (input_data [:FP2_SIZE_IN_BYTES ])
221
+ result = _map_fp2_to_g2 (field_element )
222
222
except ValidationError :
223
223
raise VMError ("Invalid BLS_MAP_FP2_TO_G2 parameters" )
224
224
You can’t perform that action at this time.
0 commit comments