bitcoin.php
bitcoin.php copied to clipboard
checkAddress doesnt work with testnet
When starting bitcoind with "-testnet" causes site testing to fail.
The reason is that in checkAddress(bitcon-php.inc) the address version is bound to be (1 byte) 00000000
Since the testnet has (1 byte) 00000111
... the checkAddress($address) will return false when running a site for development.