commit 5514d3bd74ab079beb0293d527e08dffd3105729 parent de0876af7a289d1333971ff9adc13b7a4b0f341d Author: thomasv <thomasv@gitorious> Date: Mon, 9 Sep 2013 14:12:37 +0200 fix address_from_perivate_key Diffstat:
M | lib/bitcoin.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bitcoin.py b/lib/bitcoin.py @@ -255,7 +255,7 @@ def public_key_from_private_key(sec): def address_from_private_key(sec): public_key = public_key_from_private_key(sec) - address = public_key_to_bc_address(public_key) + address = public_key_to_bc_address(public_key.decode('hex')) return address