1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

wallet: remove unimport for now

Importing a module again causes new classes to get created and breaks references between an object and its class.

TODO: revise how imports/unimports are used in signing
This commit is contained in:
Jan Pochyla 2016-11-15 18:09:25 +01:00
parent 72be5cf2f2
commit ecd8bd3b2a

View File

@ -32,7 +32,7 @@ async def confirm_total(session_id, spending, fee, coin):
return await hold_to_confirm(session_id, content, SignTx) return await hold_to_confirm(session_id, content, SignTx)
@unimport # @unimport
async def layout_sign_tx(message, session_id): async def layout_sign_tx(message, session_id):
from ..common.seed import get_root_node from ..common.seed import get_root_node
from ..common import signtx from ..common import signtx