electrum

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

commit 5513a6454937d4c4b5c770a30a14c0fd45f33dc1
parent 9c2d12923adedc84d1dcb3ed6005ea1e8653e1cc
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 28 Feb 2017 22:59:55 +0100

Merge pull request #2213 from bauerj/patch-2

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

diff --git a/lib/util.py b/lib/util.py @@ -187,7 +187,7 @@ def json_encode(obj): def json_decode(x): try: - return json.loads(x, parse_float=decimal.Decimal) + return json.loads(x, parse_float=Decimal) except: return x