From 274db56b1bfc85b1590c8b9f9fb1bb92bbc818a1 Mon Sep 17 00:00:00 2001 From: Janet Liang Date: Tue, 14 Jul 2020 01:20:17 -0700 Subject: [PATCH] [account] Add thread warning to is_valid_address --- pyhmy/account.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyhmy/account.py b/pyhmy/account.py index bcc4429..c82c079 100644 --- a/pyhmy/account.py +++ b/pyhmy/account.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 ----------