Api tweaks
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user