tfix #3294 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 5926438847f40190847866fe431332ca58f28676
DIR parent fcfdba14bd87296cad439347ad91092e9d4e2001
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 27 Mar 2018 23:40:46 +0200
fix #3294
Diffstat:
M lib/util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/util.py b/lib/util.py
t@@ -418,7 +418,7 @@ def format_satoshis(x, is_diff=False, num_zeros = 0, decimal_point = 8, whitespa
return 'unknown'
x = int(x) # Some callers pass Decimal
scale_factor = pow (10, decimal_point)
- integer_part = "{:n}".format(int(abs(x) / scale_factor))
+ integer_part = "{:d}".format(int(abs(x) / scale_factor))
if x < 0:
integer_part = '-' + integer_part
elif is_diff: