git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f51e9a3
)
fix
author
ThomasV
<thomasv@gitorious>
Wed, 9 Nov 2011 16:24:07 +0000 (17:24 +0100)
committer
ThomasV
<thomasv@gitorious>
Wed, 9 Nov 2011 16:24:07 +0000 (17:24 +0100)
client/electrum.py
patch
|
blob
|
history
diff --git
a/client/electrum.py
b/client/electrum.py
index
3496597
..
680af5c
100755
(executable)
--- 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')