tfix address_from_perivate_key - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 5514d3bd74ab079beb0293d527e08dffd3105729 DIR parent de0876af7a289d1333971ff9adc13b7a4b0f341d HTML 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(-) --- DIR diff --git a/lib/bitcoin.py b/lib/bitcoin.py t@@ -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