formatted
This commit is contained in:
parent
60c88beb29
commit
1c56622d89
1 changed files with 2 additions and 1 deletions
|
|
@ -309,6 +309,7 @@ async def get_onchain_dashboard(gerty):
|
||||||
|
|
||||||
return areas
|
return areas
|
||||||
|
|
||||||
|
|
||||||
async def get_time_remaining_next_difficulty_adjustment(gerty):
|
async def get_time_remaining_next_difficulty_adjustment(gerty):
|
||||||
if isinstance(gerty.mempool_endpoint, str):
|
if isinstance(gerty.mempool_endpoint, str):
|
||||||
async with httpx.AsyncClient() as client:
|
async with httpx.AsyncClient() as client:
|
||||||
|
|
@ -380,4 +381,4 @@ async def get_mempool_stat(stat_slug: str, gerty):
|
||||||
"{0} {1}{2}".format(format_number(fee_rate), ("sat" if fee_rate == 1 else "sats"), fee_append),
|
"{0} {1}{2}".format(format_number(fee_rate), ("sat" if fee_rate == 1 else "sats"), fee_append),
|
||||||
font_size,
|
font_size,
|
||||||
750, pos_y))
|
750, pos_y))
|
||||||
return text
|
return text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue