electrum

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

commit 9ca4e60b84f9fd7c470ac16f0ca7fd1683c81112
parent aed2b04dbdb6d52e3db42b15e7dffc7c220e7b76
Author: ThomasV <thomasv@electrum.org>
Date:   Wed,  1 Feb 2017 09:44:25 +0100

fix tests

Diffstat:
Mlib/tests/test_bitcoin.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/tests/test_bitcoin.py b/lib/tests/test_bitcoin.py @@ -3,7 +3,7 @@ import sys from ecdsa.util import number_to_string from lib.bitcoin import ( - generator_secp256k1, point_to_ser, public_key_to_bc_address, EC_KEY, + generator_secp256k1, point_to_ser, public_key_to_p2pkh, EC_KEY, bip32_root, bip32_public_derivation, bip32_private_derivation, pw_encode, pw_decode, Hash, public_key_from_private_key, address_from_private_key, is_valid, is_private_key, xpub_from_xprv, is_new_seed, is_old_seed, @@ -29,7 +29,7 @@ class Test_bitcoin(unittest.TestCase): Pub = pvk*G pubkey_c = point_to_ser(Pub,True) #pubkey_u = point_to_ser(Pub,False) - addr_c = public_key_to_bc_address(pubkey_c) + addr_c = public_key_to_p2pkh(pubkey_c) #addr_u = public_key_to_bc_address(pubkey_u) #print "Private key ", '%064x'%pvk