electrum

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

commit 9d2629c5c3e6be65c69820be697d10eb20223297
parent f545d2b716d3e0a3d184473d03e16a35cbf2520e
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue,  4 Feb 2020 19:04:38 +0100

blockchain.fork: better exception if datadir was deleted while running

Diffstat:
Melectrum/blockchain.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/electrum/blockchain.py b/electrum/blockchain.py @@ -258,6 +258,7 @@ class Blockchain(Logger): parent=parent, forkpoint_hash=hash_header(header), prev_hash=parent.get_hash(forkpoint-1)) + self.assert_headers_file_available(parent.path()) open(self.path(), 'w+').close() self.save_header(header) # put into global dict. note that in some cases