tfix for heading zeroes - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 4a152d4faf20270a7e91ad16d4012ccb0060f2c7
DIR parent e42cd36318c5924409adf4189bab5c06662705c7
HTML Author: thomasv <thomasv@gitorious>
Date: Thu, 19 Apr 2012 14:52:21 +0200
fix for heading zeroes
Diffstat:
M client/mnemonic.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/client/mnemonic.py b/client/mnemonic.py
t@@ -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