Skip to content

Incorrect output of Base58 decoding #17

@martinholy

Description

@martinholy

When calling function 'base58.decode' with '1' as starting character(s), returned output is incorrect.

# test vector from <https://tools.ietf.org/id/draft-msporny-base58-02.html#name-test-vectors>
assert hdwallet.libs.base58.decode("111233QC4") == b'\x00\x00\x00(\x7f\xb4\xcd' # fails

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions