commit 3c7843eea531446e62788d54142d6bdff12b59eb
parent ab2d0f389c939adf0d89b8ec39b22132c0aeff3e
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 23 Sep 2017 05:40:10 +0200
revert 6e9b2a4459a108d438a917241c97f315544644c9
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bitcoin.py b/lib/bitcoin.py
@@ -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: