Skip to content

Incorrect handling of leading 0s in Bitcoin addresses. #8

@dougal

Description

@dougal

@keirfb commenting on #5:

A second reason for not using this base58 library for producing bitcoin addresses is that it doesn't deal with leading zeroes in the manner that bitcoin requires. They get dropped when you convert your string of hex digits to an integer (and there are often many leading zeroes as the network bytes for the main bitcoin network are 00).

Bitcoin docs: https://en.bitcoin.it/wiki/Base58Check_encoding

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions