tkivy: fixes for on_qr - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 49ac8924fec3985d245ab4cab17407949dfba663 DIR parent e8e36a61f4cd23e63c20e31a1aa2614ab70780d8 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 25 Jun 2016 20:21:07 +0200 kivy: fixes for on_qr Diffstat: M gui/kivy/main_window.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py t@@ -237,6 +237,7 @@ class ElectrumWindow(App): def on_qr(self, data): from electrum.bitcoin import base_decode, is_address + data = data.strip() if is_address(data): self.set_URI(data) return t@@ -248,6 +249,7 @@ class ElectrumWindow(App): try: text = base_decode(data, None, base=43).encode('hex') tx = Transaction(text) + tx.deserialize() except: tx = None if tx: