trm deprecated functions - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit d1657cd62cf770a568d87e1820b9fcae10114255
DIR parent c72123d708e3dc03f11246704b49a156b6b69682
HTML Author: ThomasV <thomasv@electrum.org>
Date: Wed, 11 Oct 2017 11:43:40 +0200
rm deprecated functions
Diffstat:
M lib/bitcoin.py | 10 ----------
1 file changed, 0 insertions(+), 10 deletions(-)
---
DIR diff --git a/lib/bitcoin.py b/lib/bitcoin.py
t@@ -555,16 +555,6 @@ def is_address(addr):
return is_segwit_address(addr) or is_b58_address(addr)
-def is_p2pkh(addr):
- if is_address(addr):
- addrtype, h = b58_address_to_hash160(addr)
- return addrtype == ADDRTYPE_P2PKH
-
-def is_p2sh(addr):
- if is_address(addr):
- addrtype, h = b58_address_to_hash160(addr)
- return addrtype == ADDRTYPE_P2SH
-
def is_private_key(key):
try:
k = deserialize_privkey(key)