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

base58 issue #48

Open
wangrenxing opened this issue Aug 4, 2018 · 1 comment
Open

base58 issue #48

wangrenxing opened this issue Aug 4, 2018 · 1 comment

Comments

@wangrenxing
Copy link

Tks for u good job.
I find some problem in branch part5
file: base58.go
function Base58Encode:
//for b := range input {
for _, b := range input {
if b == 0x00 {
result = append([]byte{b58Alphabet[0]}, result...)
} else {
break
}
}
function Base58Encode:
//for b := range input {
for _,b := range input {
//if b == 0x00 {
if b == b58Alphabet[0] {
zeroBytes++
}
}

@big-omega
Copy link

Yes, it is.

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