tremove regexp test from is_address; non-matching strings will fail anyway - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8b6efaff2d47b943f24af81477621a5365078b50 DIR parent 4d41c36cbb3df15c2bb2f333b0275479eaa818fc HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 7 Jan 2017 18:42:51 +0100 remove regexp test from is_address; non-matching strings will fail anyway Diffstat: M lib/bitcoin.py | 3 --- 1 file changed, 0 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/bitcoin.py b/lib/bitcoin.py t@@ -399,9 +399,6 @@ def is_valid(addr): def is_address(addr): - ADDRESS_RE = re.compile('[1-9A-HJ-NP-Za-km-z]{26,}\\Z') - if not ADDRESS_RE.match(addr): - return False try: addrtype, h = bc_address_to_hash_160(addr) except Exception: