electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 57e7eb2ff9acb90ca1dbf4cb5e4fa56ec1e8c64d
parent 9056865bdec2cdc3cf2a636da5a3f85117135a25
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 10 Nov 2013 11:51:56 +0100

wallet.py: use get_seed in update_password

Diffstat:
Mlib/wallet.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -1408,8 +1408,7 @@ class Wallet: def update_password(self, old_password, new_password): if new_password == '': new_password = None - # this will throw an exception if unicode cannot be converted - decoded = pw_decode(self.seed, old_password) + decoded = self.get_seed(old_password) self.seed = pw_encode( decoded, new_password) self.storage.put('seed', self.seed, True) self.use_encryption = (new_password != None)