electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5f413aca1c68c9787ebd3e726c2357b199c03183
parent c844d22a19a026781baefde8abf458fb3fe3d01a
Author: ThomasV <thomasv@gitorious>
Date:   Fri,  7 Aug 2015 14:36:43 +0200

rm unneeded float conversion

Diffstat:
Mlib/util.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util.py b/lib/util.py @@ -123,7 +123,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) / float(scale_factor))) + integer_part = "{:n}".format(int(abs(x) / scale_factor)) if x < 0: integer_part = '-' + integer_part elif is_diff: