You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
According to this (and BTC specification in general):
https://en.bitcoin.it/wiki/Help:FAQ#How_divisible_are_bitcoins.3F
the smallest BTC unit is 10^(-8), which means the biggest acceptable decimal precision should be 8 decimal places.
Here:
https://github.com/bitpay/php-bitpay-client/blob/master/src/Bitpay/Client/Client.php#L698
a value with 8 decimal places does not pass this check unless it's rounded up to 6 decimal places, even though in theory it should be possible to pay 0.00000001BTC.
The text was updated successfully, but these errors were encountered: