commit dc0f03de997eb1bba83717cf47f10162b7ce6b19
parent 08448fd2f064bdc40616c4a4a9e434ec77709f9f
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 23 Sep 2018 18:26:10 +0200
channel verifier: fix request_chunk args
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/lnchanannverifier.py b/electrum/lnchanannverifier.py
@@ -89,7 +89,7 @@ class LNChanAnnVerifier(ThreadJob):
if header is None:
index = block_height // 2016
if index < len(blockchain.checkpoints):
- await tg.spawn(self.network.request_chunk(interface, index))
+ await tg.spawn(self.network.request_chunk(block_height, None, can_return_early=True))
continue
await tg.spawn(self.verify_channel(block_height, tx_pos, short_channel_id))
#self.print_error('requested short_channel_id', bh2u(short_channel_id))