commit 290999b9a86caf04eeb49b063aea3a446c7c6c2f parent 8683d71711455c030f01bc7ec3ef249f15da5c93 Author: ThomasV <thomasv@electrum.org> Date: Sun, 22 Oct 2017 12:50:28 +0200 kivy: py3 update for scanning transaction Diffstat:
M | gui/kivy/main_window.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py @@ -305,8 +305,9 @@ class ElectrumWindow(App): return # try to decode transaction from electrum.transaction import Transaction + from electrum.util import bh2u try: - text = base_decode(data, None, base=43).encode('hex') + text = bh2u(base_decode(data, None, base=43)) tx = Transaction(text) tx.deserialize() except: