Changed await call for web3 get_block method
This commit is contained in:
parent
b21ca9f873
commit
253c8beeec
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user