Browse Source

fix: missing parameter

283
thomasv 12 years ago
parent
commit
0f22b5e566
  1. 2
      lib/bitcoin.py

2
lib/bitcoin.py

@ -463,7 +463,7 @@ class DeterministicSequence:
def get_private_key_from_stretched_exponent(self, sequence, secexp):
order = generator_secp256k1.order()
secexp = ( secexp + self.get_sequence(sequence) ) % order
secexp = ( secexp + self.get_sequence(sequence, self.master_public_key) ) % order
pk = number_to_string( secexp, generator_secp256k1.order() )
compressed = False
return SecretToASecret( pk, compressed )

Loading…
Cancel
Save