[cli] Remove unnecessary caching & update version

pull/2/head
Daniel Van Der Maden 5 years ago
parent 00acc839be
commit 4db7cf7dfe
  1. 2
      pyhmy/_version.py
  2. 3
      pyhmy/cli.py

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

@ -205,7 +205,6 @@ def get_account_keystore_path():
return os.path.abspath(_account_keystore_path)
@_cache_account_function
def check_address(address):
"""
:param address: A 'one1...' address.
@ -214,7 +213,6 @@ def check_address(address):
return address in get_accounts_keystore().values()
@_cache_account_function
def get_address(name):
"""
:param name: The alias of a key used in the CLI's keystore.
@ -223,7 +221,6 @@ def get_address(name):
return get_accounts_keystore().get(name, None)
@_cache_account_function
def get_accounts(address):
"""
:param address: The 'one1...' address

Loading…
Cancel
Save