Skip to content

Commit

Permalink
Fix wrong balance endpoint (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
philogicae authored Aug 14, 2024
1 parent 7989177 commit 902cf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/vm/orchestrator/payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def fetch_balance_of_address(address: str) -> Decimal:
"""

async with aiohttp.ClientSession() as session:
url = f"{settings.API_SERVER}/api/v0/{address}/balance"
url = f"{settings.API_SERVER}/api/v0/addresses/{address}/balance"
resp = await session.get(url)

# Consider the balance as null if the address is not found
Expand Down

0 comments on commit 902cf85

Please sign in to comment.