bitcoin.php icon indicating copy to clipboard operation
bitcoin.php copied to clipboard

checkAddress doesnt work with testnet

Open erik78se opened this issue 14 years ago • 0 comments

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.

erik78se avatar Jul 21 '11 17:07 erik78se