Skip to content

Commit

Permalink
add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Jul 10, 2024
1 parent a7b0a2d commit 8022d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphsenselib/ingest/tron/export_traces_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ async def fetch_and_process_block(self, i, wallet_stub, retries=5, timeout=3 * 6

# while attempt < retries:
# try:
block = wallet_stub.GetTransactionInfoByBlockNum(
block = await wallet_stub.GetTransactionInfoByBlockNum(
NumberMessage(num=i), timeout=timeout
)
traces_per_block = decode_block_to_traces(i, block)
Expand Down

0 comments on commit 8022d4b

Please sign in to comment.