electrum

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

commit 407070bba0c7a7f174e1f6db6d8f94f6edeb7911
parent cb67ec4454aecbd55151c7200c1e005da1627e57
Author: Jimbo77 <onlineregular@gmail.com>
Date:   Thu, 23 Aug 2012 17:59:54 -0700

Didn't need a seperate variable just for string

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

diff --git a/lib/wallet.py b/lib/wallet.py @@ -679,7 +679,6 @@ class Wallet: '''Read the contents of the wallet file.''' import interface - upgrade_msg = """This wallet seed is deprecated. Please run upgrade.py for a diagnostic.""" self.file_exists = False try: f = open(self.path,"r") @@ -720,7 +719,7 @@ class Wallet: self.update_tx_history() if self.seed_version != SEED_VERSION: - raise BaseException(upgrade_msg) + raise ValueError("This wallet seed is deprecated. Please run upgrade.py for a diagnostic.") if self.remote_url: assert self.master_public_key.encode('hex') == self.get_remote_mpk()