[cli] Restore keystore caching

pull/2/head
Daniel Van Der Maden 5 years ago
parent 7407b26a82
commit 3fbdb9ce30
  1. 2
      pyhmy/_version.py
  2. 2
      pyhmy/cli.py

@ -7,5 +7,5 @@ Provides pyhmy version information.
from incremental import Version
__version__ = Version('pyhmy', 20, 1, 19)
__version__ = Version('pyhmy', 20, 1, 20)
__all__ = ["__version__"]

@ -90,6 +90,7 @@ def _cache_and_lock_accounts_keystore(fn):
return wrap
@_cache_and_lock_accounts_keystore
def _get_current_accounts_keystore():
"""
Internal function that gets the current keystore from the CLI.
@ -126,6 +127,7 @@ def _set_account_keystore_path():
def _sync_accounts():
"""
# TODO: improve syncing...
Internal function that UPDATES the accounts keystore with the CLI's keystore.
"""
new_keystore = _get_current_accounts_keystore()

Loading…
Cancel
Save