-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I'm calling api.getbalance('BTC') but it complains saying:
hmac.py", line 144, in new
return HMAC(key, msg, digestmod)
raise TypeError("key: expected bytes or bytearray, but got %r" % type(key).name)
TypeError: key: expected bytes or bytearray, but got 'str'
I've tried changing 'BTC' to bytes with:
x = 'BTC'.encode() and passing that in but same error. Any help would be appreciated.
Metadata
Metadata
Assignees
Labels
No labels