From 076b94903919d0c582fe3a6c1c2db8179444b627 Mon Sep 17 00:00:00 2001 From: ecdsa Date: Sun, 14 Apr 2013 19:32:25 +0200 Subject: [PATCH] fix create and restore from command line --- contrib/make_download | 4 ++-- electrum | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/make_download b/contrib/make_download index ea76d227..4d9325b7 100755 --- a/contrib/make_download +++ b/contrib/make_download @@ -5,8 +5,8 @@ string = sys.stdin.read() import hashlib, os version = "1.7.3" -version_win = "1.7.2" -version_mac = "1.7.2" +version_win = "1.7.3" +version_mac = "1.7.3" _tgz="Electrum-%s.tar.gz"%version _zip="Electrum-%s.zip"%version diff --git a/electrum b/electrum index d543116d..e8ad324c 100755 --- a/electrum +++ b/electrum @@ -244,6 +244,7 @@ if __name__ == '__main__': wallet.init_sequence(str(seed)) else: wallet.init_seed( str(seed) ) + wallet.save_seed() if not options.offline: interface = Interface(config) @@ -269,6 +270,7 @@ if __name__ == '__main__': print_msg("Wallet saved in '%s'"%wallet.config.path) else: wallet.init_seed(None) + wallet.save_seed() wallet.synchronize() # there is no wallet thread wallet.save() print_msg("Your wallet generation seed is: " + wallet.seed)