Compare commits

...

2 Commits

Author SHA1 Message Date
Janet Liang 274db56b1b [account] Add thread warning to is_valid_address 4 years ago
Janet Liang 452ff215bf [validator] Fix typo 4 years ago
  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