Skip to content

Commit 1bd8c2f

Browse files
authored
Merge pull request #3043 from opentensor/fix/roman/Async-Get_balances-at-a-specific-block-returns-current-block
Async Get_balances at a specific block returns current block
2 parents 6095490 + 471a359 commit 1bd8c2f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bittensor/core/async_subtensor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,8 +1235,6 @@ async def get_balances(
12351235
"""
12361236
if reuse_block:
12371237
block_hash = self.substrate.last_block_hash
1238-
elif not block_hash:
1239-
block_hash = await self.get_block_hash()
12401238
else:
12411239
block_hash = await self.determine_block_hash(block, block_hash, reuse_block)
12421240
calls = [

0 commit comments

Comments
 (0)