tkivy: py3 update for scanning transaction - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 290999b9a86caf04eeb49b063aea3a446c7c6c2f
DIR parent 8683d71711455c030f01bc7ec3ef249f15da5c93
HTML 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(-)
---
DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
t@@ -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: