We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@tyler-smith I've tried using bip32.BitcoinBase58Encoding.EncodeToString for address encoding.
bip32.BitcoinBase58Encoding.EncodeToString
It seems like current encoding is not handling properly leading zero.
What is more, I've cloned repository and swapped basen to btcutil/base58, unit tests passed.
basen
btcutil/base58
package main import ( "fmt" "github.com/btcsuite/btcutil/base58" "github.com/tyler-smith/go-bip32" ) func main() { b := []byte{0, 1} fmt.Println(base58.Encode(b)) fmt.Println(bip32.BitcoinBase58Encoding.EncodeToString(b)) }
12 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@tyler-smith
I've tried using
bip32.BitcoinBase58Encoding.EncodeToString
for address encoding.It seems like current encoding is not handling properly leading zero.
What is more, I've cloned repository and swapped
basen
tobtcutil/base58
, unit tests passed.The text was updated successfully, but these errors were encountered: