Skip to content
Snippets Groups Projects
Commit 280f1fd3 authored by Moul's avatar Moul
Browse files

[mod] balance: Get rid of useless comparison to M

Which is hardly comparable the more N is bigger
The comparison to M/N makes more sense
We could round to five instead of two digits, to be able to see
something, but that does not make sense as explain earlier
parent ba2b4334
No related branches found
No related tags found
2 merge requests!146Merge dev into master branch to complete v0.8.0 development cycle,!132Multiple enhancements
...@@ -86,12 +86,6 @@ async def show_amount_from_pubkey(pubkey, value): ...@@ -86,12 +86,6 @@ async def show_amount_from_pubkey(pubkey, value):
"{0} x M/N".format(round(totalAmountInput / average, 2)), "{0} x M/N".format(round(totalAmountInput / average, 2)),
] ]
) )
display.append(
[
"Total relative to M",
"{0} % M".format(round(totalAmountInput / monetary_mass, 2)),
]
)
echo(tabulate(display, tablefmt="fancy_grid")) echo(tabulate(display, tablefmt="fancy_grid"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment