Skip to content

Commit 902cf85

Browse files
authored
Fix wrong balance endpoint (#666)
1 parent 7989177 commit 902cf85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/vm/orchestrator/payment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async def fetch_balance_of_address(address: str) -> Decimal:
2929
"""
3030

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

3535
# Consider the balance as null if the address is not found

0 commit comments

Comments
 (0)