Skip to content

Commit 7a66b18

Browse files
fix typing
1 parent 7404aa0 commit 7a66b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py_ecc/bls/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def G1_to_pubkey(pt: G1Uncompressed) -> BLSPubkey:
146146

147147

148148
def pubkey_to_G1(pubkey: BLSPubkey) -> G1Uncompressed:
149-
z = big_endian_to_int(pubkey)
149+
z = G1Compressed(big_endian_to_int(pubkey))
150150
return decompress_G1(z)
151151

152152
#

0 commit comments

Comments
 (0)