This commit is contained in:
ThomasV 2017-09-23 05:40:10 +02:00
parent ab2d0f389c
commit 3c7843eea5
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ def address_from_private_key(sec):
def is_segwit_address(addr):
witver, witprog = segwit_addr.decode(SEGWIT_HRP, addr)
return witprog is not None and witver == 0
return witprog is not None
def is_b58_address(addr):
try: