1
0

fix: replace remaining occurences of public_key_to_bc_address

This commit is contained in:
ThomasV
2017-01-29 06:34:35 +01:00
parent f937472928
commit 6bfbc9a718
4 changed files with 6 additions and 6 deletions

View File

@@ -820,7 +820,7 @@ class Transaction:
if type == TYPE_ADDRESS:
addr = x
elif type == TYPE_PUBKEY:
addr = public_key_to_bc_address(x.decode('hex'))
addr = bitcoin.public_key_to_p2pkh(x.decode('hex'))
else:
addr = 'SCRIPT ' + x.encode('hex')
o.append((addr,v)) # consider using yield (addr, v)