electrum

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

commit 37888fc6a5e642f4e7f5072da95e294b70f9ba34
parent 19063d2395e08899abab791e7ca35372929d4917
Author: thomasv <thomasv@gitorious>
Date:   Mon,  7 Oct 2013 11:39:19 +0200

upgrade message for ecdsa

Diffstat:
Mlib/bitcoin.py | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/bitcoin.py b/lib/bitcoin.py @@ -272,8 +272,11 @@ def is_valid(addr): ########### end pywallet functions ####################### - -from ecdsa.ecdsa import curve_secp256k1, generator_secp256k1 +try: + from ecdsa.ecdsa import curve_secp256k1, generator_secp256k1 +except: + print "cannot import ecdsa.curve_secp256k1. You probably need to upgrade ecdsa.\nTry: sudo pip install --upgrade ecdsa" + exit() from ecdsa.curves import SECP256k1 from ecdsa.util import string_to_number, number_to_string