python-bittrex
python-bittrex copied to clipboard
TypeError: Unicode-objects must be encoded before hashing
To avoid this error, change line 36 to:
signature = hmac.new(self.secret.encode('utf-8'), url.encode('utf-8'), hashlib.sha512).hexdigest()