channel verifier: fix request_chunk args

This commit is contained in:
ThomasV 2018-09-23 18:26:10 +02:00 committed by SomberNight
parent dd35a5d0a0
commit fa3fea0ec2
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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))