tfix: password is not None - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit fc2b6b032894e0cab99045e1886ae7b1b85e46e6
DIR parent 889eb101ffc637c1ccf4c91ad8a57feeb671b6bf
HTML Author: thomasv <thomasv@gitorious>
Date: Tue, 20 Dec 2011 16:04:26 +0100
fix: password is not None
Diffstat:
M client/electrum.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/client/electrum.py b/client/electrum.py
t@@ -628,7 +628,7 @@ class Wallet:
return s
def pw_decode(self, s, password):
- if password:
+ if password is not None:
secret = Hash(password)
d = DecodeAES(secret, s)
if s == self.seed: