Browse Source

avoid hardcoding the curve generator ourselves

3.2.x
SomberNight 7 years ago
parent
commit
dc1d6ac1fe
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      lib/ecc.py

2
lib/ecc.py

@ -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…
Cancel
Save