rm deprecated functions

This commit is contained in:
ThomasV 2017-10-11 11:43:40 +02:00
parent c72123d708
commit d1657cd62c
1 changed files with 0 additions and 10 deletions

View File

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