Skip to content

Incorrect bitcoin cash address being generated by CashAddress class #44

@ynohtna92

Description

@ynohtna92

The current CashAddress.php file is generating incorrect cash addresses.

Running CashAddress::old2new('13spvtVJmRkTWGTCC8ya4LpQguCni9pHZE') currently gives bitcoincash:qq0c6rc3pf0hpf0r0849ddg36y9235e83sqqndxum7 (which doesn't pass a checksum), instead of bitcoincash:qq0c6rc3pf0hpf0r0849ddg36y9235e83s5wh0n72c.

Please update CashAddress.php to the newest version https://github.com/Har01d/CashAddressPHP as I have tested the class and it correctly converts the old address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions