Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Checksum #56

Open
AgostinhoBarbosa opened this issue Jan 7, 2021 · 1 comment
Open

Invalid Checksum #56

AgostinhoBarbosa opened this issue Jan 7, 2021 · 1 comment

Comments

@AgostinhoBarbosa
Copy link

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

@leonchuk
Copy link

leonchuk commented Apr 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants