From a8be1aeae8f385bc215d140a6587f0250e92d3de Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 5 Apr 2017 15:55:15 +0200 Subject: [PATCH] fix #2351 --- lib/keystore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/keystore.py b/lib/keystore.py index a7a24d722..f0655fa79 100644 --- a/lib/keystore.py +++ b/lib/keystore.py @@ -650,7 +650,7 @@ is_private_key = lambda x: is_xprv(x) or is_private_key_list(x) is_bip32_key = lambda x: is_xprv(x) or is_xpub(x) def bip44_derivation(account_id): - if TESTNET: + if bitcoin.TESTNET: return "m/44'/1'/%d'"% int(account_id) else: return "m/44'/0'/%d'"% int(account_id)