tfix #4227 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d2a1179087f89fc121b0ca998bc052734ad87417 DIR parent ad6dd73a032517651d6e029163628d67039a36d2 HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 5 Apr 2018 12:22:01 +0200 fix #4227 Diffstat: M lib/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -34,7 +34,7 @@ from functools import wraps from decimal import Decimal from .import util -from .util import bfh, bh2u, format_satoshis, json_decode, print_error +from .util import bfh, bh2u, format_satoshis, json_decode, print_error, json_encode from .import bitcoin from .bitcoin import is_address, hash_160, COIN, TYPE_ADDRESS from .i18n import _ t@@ -451,7 +451,7 @@ class Commands: from .exchange_rate import FxThread fx = FxThread(self.config, None) kwargs['fx'] = fx - return self.wallet.get_full_history(**kwargs) + return json_encode(self.wallet.get_full_history(**kwargs)) @command('w') def setlabel(self, key, label):