fix keystore in trezor settings

This commit is contained in:
ThomasV 2016-08-20 08:52:13 +02:00
parent 24a9ff3fef
commit 8804ea8b1a
1 changed files with 2 additions and 2 deletions

View File

@ -349,11 +349,11 @@ class SettingsDialog(WindowModalDialog):
devmgr = plugin.device_manager()
config = devmgr.config
keystore = window.wallet.get_keystore()
wallet = window.wallet
handler = keystore.handler
thread = keystore.thread
# wallet can be None, needn't be window.wallet
wallet = devmgr.wallet_by_id(device_id)
keystore = devmgr.wallet_by_id(device_id)
hs_rows, hs_cols = (64, 128)
def invoke_client(method, *args, **kw_args):