1
0

small timeout change

(re KeyError: can happen after proxy settings change)
This commit is contained in:
SomberNight
2018-09-08 00:25:38 +02:00
parent 7500b1fbee
commit 64a03c245c
2 changed files with 6 additions and 6 deletions

View File

@@ -213,7 +213,7 @@ class Interface(PrintError):
return None
async def get_block_header(self, height, assert_mode):
res = await asyncio.wait_for(self.session.send_request('blockchain.block.header', [height]), 1)
res = await asyncio.wait_for(self.session.send_request('blockchain.block.header', [height]), 5)
return blockchain.deserialize_header(bytes.fromhex(res), height)
async def request_chunk(self, idx, tip):