electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 0f22b5e56676b075a17a2acd190f1ef5c15a3c62
parent 5846f725d69815a25b88ecb2e9b320a33f3d69a0
Author: thomasv <thomasv@gitorious>
Date:   Sun,  3 Mar 2013 11:00:27 +0100

fix: missing parameter

Diffstat:
Mlib/bitcoin.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bitcoin.py b/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 )