electrum

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

commit f84b7eb3a89c05e8e5503df32a7fc0d0df426d0d
parent 3bfe0fb532d71e8056a06a3010a2e03b1b85f0b5
Author: thomasv <thomasv@gitorious>
Date:   Fri, 16 Dec 2011 10:06:26 +0100

update history before raising exception

Diffstat:
Mclient/electrum.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/client/electrum.py b/client/electrum.py @@ -433,14 +433,15 @@ class Wallet: self.addressbook = d.get('contacts') except: raise BaseException("Error; could not parse wallet. If this is an old wallet format, please use upgrade.py.",0) + + self.update_tx_history() + if self.seed_version != SEED_VERSION: raise BaseException("""Seed version mismatch: your wallet seed is deprecated. Please create a new wallet, and send your coins to the new wallet. We apologize for the inconvenience. We try to keep this kind of upgrades as rare as possible. See the release notes for more information.""",1) - - self.update_tx_history() return True def get_new_address(self):