twallet.py: use get_seed in update_password - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 57e7eb2ff9acb90ca1dbf4cb5e4fa56ec1e8c64d DIR parent 9056865bdec2cdc3cf2a636da5a3f85117135a25 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 10 Nov 2013 11:51:56 +0100 wallet.py: use get_seed in update_password Diffstat: M lib/wallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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)