trename P2PK to P2PKH to avoid confusion - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 65ee3416f6b0c8f8491cb4d9b9fef73540f48431 DIR parent 7e871923f4454eb6c7e149bf1252bcba4a80994c HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 2 Jan 2017 11:02:36 +0100 rename P2PK to P2PKH to avoid confusion Diffstat: M gui/qt/main_window.py | 2 +- M lib/wallet.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -52,7 +52,7 @@ from electrum.util import (block_explorer, block_explorer_info, format_time, from electrum import Transaction, mnemonic from electrum import util, bitcoin, commands, coinchooser from electrum import SimpleConfig, paymentrequest -from electrum.wallet import Wallet, Multisig_Wallet, P2PK_Wallet +from electrum.wallet import Wallet, Multisig_Wallet from amountedit import BTCAmountEdit, MyLineEdit, BTCkBEdit from network_dialog import NetworkDialog DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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')) t@@ -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):