diff --git a/cexapi/cexapi.py b/cexapi/cexapi.py index 8b86b88..ab07d1b 100644 --- a/cexapi/cexapi.py +++ b/cexapi/cexapi.py @@ -28,7 +28,7 @@ def __init__(self, username, api_key, api_secret): def __nonce(self): self.__nonce_v = '{:.10f}'.format(time.time() * 1000).split('.')[0] - # generate segnature + # generate signature def __signature(self): string = self.__nonce_v + self.__username + self.__api_key # create string signature = hmac.new(self.__api_secret, string, digestmod=hashlib.sha256).hexdigest().upper() # create signature