[account] Add thread warning to is_valid_address

add_warning
Janet Liang 4 years ago
parent 452ff215bf
commit 274db56b1b
  1. 1
      pyhmy/account.py

@ -28,6 +28,7 @@ _address_length = 42
def is_valid_address(address) -> bool: def is_valid_address(address) -> bool:
""" """
Check if given string is valid one address 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 Parameters
---------- ----------

Loading…
Cancel
Save