git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e42cd36
)
fix for heading zeroes
author
thomasv
<thomasv@gitorious>
Thu, 19 Apr 2012 12:52:21 +0000 (14:52 +0200)
committer
thomasv
<thomasv@gitorious>
Thu, 19 Apr 2012 12:52:21 +0000 (14:52 +0200)
client/mnemonic.py
patch
|
blob
|
history
diff --git
a/client/mnemonic.py
b/client/mnemonic.py
index
9507992
..
82d2624
100644
(file)
--- a/
client/mnemonic.py
+++ b/
client/mnemonic.py
@@
-1675,7
+1675,7
@@
def mn_decode( wlist ):
w2 = (words.index(word2))%n
w3 = (words.index(word3))%n
x = w1 +n*((w2-w1)%n) +n*n*((w3-w2)%n)
- out += '%x'%x
+ out += '%08x'%x
return out