Python Unified SDK v6.0.3
over 1 year ago by Robert Brodie
This is a patch release that addresses a type issue with paymentTotals.* and paymentSubtotals.* where it was defined as an int but is coming back from the API with scientific notation. These large numbers such as 1.321044547e+21 will not fit in an int, so we have to import the decimal library and define them as the Decimal type.
What's Changed
- Changed
paymentTotals.*andpaymentSubtotals.*to theDecimaltype
Full Changelog: https://github.com/bitpay/python-bitpay-client/compare/6.0.2...6.0.3
