1
0

rename P2PK to P2PKH to avoid confusion

This commit is contained in:
ThomasV
2017-01-02 11:02:36 +01:00
parent 7e871923f4
commit 65ee3416f6
2 changed files with 3 additions and 3 deletions

View File

@@ -1378,7 +1378,7 @@ class Imported_Wallet(Abstract_Wallet):
txin['signatures'] = [None]
class P2PK_Wallet(Abstract_Wallet):
class P2PKH_Wallet(Abstract_Wallet):
def pubkeys_to_address(self, pubkey):
return public_key_to_bc_address(pubkey.decode('hex'))
@@ -1540,7 +1540,7 @@ class Deterministic_Wallet(Abstract_Wallet):
class Standard_Wallet(Deterministic_Wallet, P2PK_Wallet):
class Standard_Wallet(Deterministic_Wallet, P2PKH_Wallet):
wallet_type = 'standard'
def __init__(self, storage):