electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8b6efaff2d47b943f24af81477621a5365078b50
parent 4d41c36cbb3df15c2bb2f333b0275479eaa818fc
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:
Mlib/bitcoin.py | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/lib/bitcoin.py b/lib/bitcoin.py @@ -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: