Closed gsmadi closed 5 years ago
Makes sense to me! Do we have any unit test coverage of this?
This code was provided by Coinbase themselves. Could we, instead, make an exception for Python3 and detail the script that requires this change to be made?
Thanks for the contribution!
Fixes an issue with Python 3 where encoding the base64 signature bytes in the auth JSON payload would fail with a TypeError.
Here is the error that is addressed in this pull request:
TypeError: Object of type 'bytes' is not JSON serializable