kivy: py3 update for scanning transaction

This commit is contained in:
ThomasV 2017-10-22 12:50:28 +02:00
parent 8683d71711
commit 290999b9a8
1 changed files with 2 additions and 1 deletions

View File

@ -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: