URI: 
       tupdate blockchain size after initial file download - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 57013ca9857e4f00f5b11e094e0450c9e6591607
   DIR parent 0d12784f1ef8ea2a03f83448d77eea2385f404a9
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu,  3 Aug 2017 07:11:27 +0200
       
       update blockchain size after initial file download
       
       Diffstat:
         M lib/network.py                      |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/network.py b/lib/network.py
       t@@ -961,6 +961,8 @@ class Network(util.DaemonThread):
                    except Exception:
                        self.print_error("download failed. creating file", filename)
                        open(filename, 'wb+').close()
       +            b = self.blockchains[0]
       +            with b.lock: b.update_size()
                    self.downloading_headers = False
                self.downloading_headers = True
                t = threading.Thread(target = download_thread)