stellar-api
stellar-api copied to clipboard
Invalid Checksum
Good night, I'm getting the error below, and I couldn't identify what it would be, could you help me.
/var/www/clients/client310/web10/web/vendor/zulucrypto/stellar-api/src/AddressableKey.php|120 Invalid checksum
the same exception for address GD6BGC6CCDFL3G77GAPYXGZLUUQIL2CVOPKFVYT35FE23HVL6JAJ2FFA
$address = 'GD6BGC6CCDFL3G77GAPYXGZLUUQIL2CVOPKFVYT35FE23HVL6JAJ2FFA';
var_dump(Base32::encode(Base32::decode($address)) === $address); #=> bool(false)
my solution: change lib \ChristianRiesen\base32 to https://github.com/ademarre/binary-to-text-php