1
0

update occurences of get_history

This commit is contained in:
ThomasV
2015-03-30 20:17:24 +02:00
parent 81372ffe4b
commit f051a3e577
5 changed files with 11 additions and 15 deletions

View File

@@ -109,6 +109,8 @@ def user_dir():
def format_satoshis(x, is_diff=False, num_zeros = 0, decimal_point = 8, whitespaces=False):
from decimal import Decimal
if x is None:
return 'unknown'
s = Decimal(x)
sign, digits, exp = s.as_tuple()
digits = map(str, digits)