Changed await call for web3 get_block method

This commit is contained in:
ZigaMr 2022-05-07 23:54:33 +02:00
parent b21ca9f873
commit 253c8beeec

View File

@ -40,7 +40,7 @@ async def create_from_block_number(
) -> Block:
if type == RPCType.geth:
block_json = await asyncio.gather(w3.eth.get_block(block_number))
block_json = await w3.eth.get_block(block_number)
else:
block_json = dict()