1
0

kivy: py3 update for scanning transaction

This commit is contained in:
ThomasV
2017-10-22 12:50:28 +02:00
parent 8683d71711
commit 290999b9a8

View File

@@ -305,8 +305,9 @@ class ElectrumWindow(App):
return return
# try to decode transaction # try to decode transaction
from electrum.transaction import Transaction from electrum.transaction import Transaction
from electrum.util import bh2u
try: try:
text = base_decode(data, None, base=43).encode('hex') text = bh2u(base_decode(data, None, base=43))
tx = Transaction(text) tx = Transaction(text)
tx.deserialize() tx.deserialize()
except: except: