mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
avoid hardcoding the curve generator ourselves
This commit is contained in:
parent
7c53712750
commit
dc1d6ac1fe
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ CURVE_ORDER = SECP256k1.order
|
|||
|
||||
|
||||
def generator():
|
||||
return ECPubkey(bfh('0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))
|
||||
return ECPubkey.from_point(generator_secp256k1)
|
||||
|
||||
|
||||
def sig_string_from_der_sig(der_sig):
|
||||
|
|
Loading…
Add table
Reference in a new issue