electrum

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

commit 5aa18c4bb5ea406e784d023272522bee4f09cf6d
parent b46d5805bf9f31e1edaab37d565f06a2f6d75374
Author: ThomasV <thomasv@gitorious>
Date:   Wed, 27 Feb 2013 23:07:30 +0100

prevent the creation of incomplete wallets

Diffstat:
Mlib/simple_config.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/simple_config.py b/lib/simple_config.py @@ -206,6 +206,10 @@ a SimpleConfig instance then reads the wallet file. def save_wallet_config(self): + # prevent the creation of incomplete wallets + if self.wallet_config.get('master_public_key') is None: + return + s = repr(self.wallet_config) f = open(self.path,"w") f.write( s )