[account] Add warning when using is_valid_address (#13)

* [validator] Fix typo

* [account] Add thread warning to is_valid_address
pull/15/head
Janet Liang 4 years ago committed by GitHub
parent 73fb44f1e2
commit e10ea06c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pyhmy/account.py
  2. 2
      pyhmy/validator.py

@ -28,6 +28,7 @@ _address_length = 42
def is_valid_address(address) -> bool:
"""
Check if given string is valid one address
NOTE: This function is NOT thread safe due to the C function used by the bech32 library.
Parameters
----------

@ -32,7 +32,7 @@ _default_endpoint = 'http://localhost:9500'
_default_timeout = 30
# TODO: Add validator transcation functions
# TODO: Add validator transaction functions
# TODO: Add unit testing
class Validator:

Loading…
Cancel
Save