electrum

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

commit ec3346342625149a1be086a8bff8b7b4ac80d3e7
parent c9c7f34ddfdbaafd1fd32b8f741ee166be7dfe2b
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue, 27 Mar 2018 20:17:37 +0200

fix #4184

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

diff --git a/lib/blockchain.py b/lib/blockchain.py @@ -317,6 +317,8 @@ class Blockchain(util.PrintError): return bitsN << 24 | bitsBase def can_connect(self, header, check_height=True): + if header is None: + return False height = header['block_height'] if check_height and self.height() != height - 1: #self.print_error("cannot connect at height", height)