From b1a1736116c18fe9970d8787bf1a49748b834b60 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 9 Nov 2011 17:24:07 +0100 Subject: [PATCH] fix --- client/electrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/electrum.py b/client/electrum.py index 349659718..680af5ccb 100755 --- a/client/electrum.py +++ b/client/electrum.py @@ -144,7 +144,7 @@ def ASecretToSecret(key): def int_to_hex(i, length=1): - s = hex(i)[2:] + s = hex(i)[2:].rstrip('L') s = "0"*(2*length - len(s)) + s return s.decode('hex')[::-1].encode('hex')