From 4db7cf7dfeb306164a074dfaf2af2dab9a02de3d Mon Sep 17 00:00:00 2001 From: Daniel Van Der Maden Date: Thu, 9 Jan 2020 14:26:10 -0800 Subject: [PATCH] [cli] Remove unnecessary caching & update version --- pyhmy/_version.py | 2 +- pyhmy/cli.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pyhmy/_version.py b/pyhmy/_version.py index 67de6fc..f6b1fa1 100644 --- a/pyhmy/_version.py +++ b/pyhmy/_version.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__"] diff --git a/pyhmy/cli.py b/pyhmy/cli.py index 0ec8769..a4e30e7 100644 --- a/pyhmy/cli.py +++ b/pyhmy/cli.py @@ -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