Api tweaks
This commit is contained in:
parent
c5b1f2870f
commit
6ecf27e168
2 changed files with 2 additions and 2 deletions
|
|
@ -91,5 +91,5 @@ async def get_mining_stat(stat_slug: str, gerty):
|
||||||
text.append(
|
text.append(
|
||||||
get_text_item_dict("{0}{1}% since last adjustment".format("+" if difference > 0 else "", round(difference, 4)),
|
get_text_item_dict("{0}{1}% since last adjustment".format("+" if difference > 0 else "", round(difference, 4)),
|
||||||
15))
|
15))
|
||||||
text.append(get_text_item_dict("Required threshold for mining proof-of-work", 12))
|
# text.append(get_text_item_dict("Required threshold for mining proof-of-work", 12))
|
||||||
return text
|
return text
|
||||||
|
|
@ -289,7 +289,7 @@ async def get_pieter_wuille_fact():
|
||||||
quote = await api_gerty_wuille()
|
quote = await api_gerty_wuille()
|
||||||
if quote:
|
if quote:
|
||||||
text.append(get_text_item_dict(quote, 15))
|
text.append(get_text_item_dict(quote, 15))
|
||||||
text.append(get_text_item_dict("Pieter Wuille facts", 15))
|
# text.append(get_text_item_dict("Pieter Wuille facts", 15))
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue