fix tests

This commit is contained in:
ThomasV 2017-02-01 09:44:25 +01:00
parent aed2b04dbd
commit 9ca4e60b84
1 changed files with 2 additions and 2 deletions

View File

@ -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