From af750d9363bd58eaccb60fcdf5635ab402c77001 Mon Sep 17 00:00:00 2001 From: bkkcoins Date: Thu, 20 Sep 2012 15:30:08 +0700 Subject: [PATCH] Fix for wallet restore when offline --- electrum | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/electrum b/electrum index fde255b..ce5159a 100755 --- a/electrum +++ b/electrum @@ -251,6 +251,8 @@ if __name__ == '__main__': print "Recovery successful" else: print_error("Warning: Found no history for this wallet") + else: + wallet.synchronize() wallet.fill_addressbook() wallet.save() print_error("Wallet saved in '" + wallet.path) @@ -413,6 +415,7 @@ if __name__ == '__main__': wallet.save() elif cmd in [ 'addresses']: + for addr in wallet.all_addresses(): if options.show_all or not wallet.is_change(addr): -- 1.7.1