commit 73390f17698bcece8b32bb848858b01de3d5c247
parent 8b6efaff2d47b943f24af81477621a5365078b50
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 7 Jan 2017 19:49:20 +0100
fix: missing global
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bitcoin.py b/lib/bitcoin.py
@@ -47,7 +47,7 @@ HEADERS_URL = "https://headers.electrum.org/blockchain_headers"
def set_testnet():
global ADDRTYPE_P2PKH, ADDRTYPE_P2SH
global XPRV_HEADER, XPUB_HEADER
- global TESTNET
+ global TESTNET, HEADERS_URL
TESTNET = True
ADDRTYPE_P2PKH = 111
ADDRTYPE_P2SH = 196