Browse Source
fix prev: that's not how you use the context manager...
3.3.3.1
SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/interface.py
|
|
@ -332,7 +332,7 @@ class Interface(PrintError): |
|
|
|
while True: |
|
|
|
self.network.notify('updated') |
|
|
|
item = await replies.get() |
|
|
|
async with self.network.bhi_lock and self.tip_lock: |
|
|
|
async with self.network.bhi_lock, self.tip_lock: |
|
|
|
if self.blockchain.height() < item['block_height']-1: |
|
|
|
_, height = await self.sync_until(height, None) |
|
|
|
if self.blockchain.height() >= height and self.blockchain.check_header(item): |
|
|
|