core: code format
This commit is contained in:
parent
728209da7d
commit
80e1545920
1 changed files with 3 additions and 1 deletions
|
|
@ -105,7 +105,9 @@ async def check_address_balance(charge_id: str) -> List[Charges]:
|
|||
try:
|
||||
async with httpx.AsyncClient() as client:
|
||||
r = await client.get(
|
||||
config.mempool_endpoint + "/api/address/" + charge.onchainaddress
|
||||
config.mempool_endpoint
|
||||
+ "/api/address/"
|
||||
+ charge.onchainaddress
|
||||
)
|
||||
respAmount = r.json()["chain_stats"]["funded_txo_sum"]
|
||||
if respAmount >= charge.balance:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue