stephen-hill / base58php

Base58 Encoding and Decoding Library for PHP
MIT License
79 stars 19 forks source link

Bcscale #19

Closed stephen-hill closed 8 years ago

stephen-hill commented 8 years ago

It appears that some distributions of PHP override the default value of "bcmath.scale" to something other than zero. This means we must always set bcdiv()'s $scale parameter to zero.